Wed, 01 Jul 2009 23:42:20 +0000
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
| libpurple/protocols/myspace/markup.c | file | annotate | diff | comparison | revisions |
--- a/libpurple/protocols/myspace/markup.c Wed Jul 01 16:08:55 2009 +0000 +++ b/libpurple/protocols/myspace/markup.c Wed Jul 01 23:42:20 2009 +0000 @@ -541,10 +541,10 @@ 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))));