changeset 27323:eb9edb1c36ac

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
author Mark Doliner <mark@kingant.net>
date Wed, 01 Jul 2009 23:42:20 +0000
parents f22b8f624a00
children d7251e93df17
files libpurple/protocols/myspace/markup.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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))));