libpurple/protocols/bonjour/jabber.c

changeset 32762
19da30ca0ffb
parent 32744
163329b5c8f6
child 33796
4854740e5277
--- a/libpurple/protocols/bonjour/jabber.c	Thu Dec 22 07:40:15 2011 +0000
+++ b/libpurple/protocols/bonjour/jabber.c	Thu Dec 22 07:55:41 2011 +0000
@@ -206,7 +206,9 @@
 						g_string_append_printf(str, " face='%s'", font_face);
 					if (font_size)
 						g_string_append_printf(str, " size='%s'", font_size);
-					if (ichat_text_color)
+					if (font_color)
+						g_string_append_printf(str, " color='%s'", font_color);
+					else if (ichat_text_color)
 						g_string_append_printf(str, " color='%s'", ichat_text_color);
 					if (ichat_balloon_color)
 						g_string_append_printf(str, " back='%s'", ichat_balloon_color);

mercurial