pidgin: d4061497: Fix font size and font face in outgoing ...
markdoliner at pidgin.im
markdoliner at pidgin.im
Mon Jul 6 18:01:04 EDT 2009
-----------------------------------------------------------------
Revision: d4061497f4eaa2391ee296efba543bf2fc502669
Ancestor: 6b55733f733881e690313c87ac44fba18f382ce1
Author: markdoliner at pidgin.im
Date: 2009-07-01T23:42:20
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/d4061497f4eaa2391ee296efba543bf2fc502669
Modified files:
libpurple/protocols/myspace/markup.c
ChangeLog:
Fix font size and font face in outgoing myspace messages. I think I
broke this in December?! We were missing a space in the tag
<f h='11'>test</f>, and so it was invalid xml, which caused parsing
problems on the receiving end
-------------- next part --------------
============================================================
--- libpurple/protocols/myspace/markup.c 3187e3fc97ad4de74c7918fc941f070c7ef76359
+++ libpurple/protocols/myspace/markup.c 92c955efa24d6a1d5b9b08df73d38c48c8b660e8
@@ -541,10 +541,10 @@ html_tag_to_msim_markup(MsimSession *ses
tmpend = g_string_new("</f>");
if (face != NULL)
- g_string_append_printf(tmpbegin, "f='%s'", face);
+ g_string_append_printf(tmpbegin, " f='%s'", face);
if (size != NULL)
- g_string_append_printf(tmpbegin, "h='%d'",
+ g_string_append_printf(tmpbegin, " h='%d'",
msim_point_to_height(session,
msim_purple_size_to_point(session, atoi(size))));
More information about the Commits
mailing list