changeset 32205:958621e23f5d

Fix the handling of IRC formatting following mIRC ^O. Fixes #14436
author Ethan Blanton <elb@pidgin.im>
date Tue, 19 Jul 2011 16:56:23 +0000
parents 8dbe2f531a89
children 9821c19360b8
files ChangeLog libpurple/protocols/irc/parse.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Jul 17 20:38:09 2011 +0000
+++ b/ChangeLog	Tue Jul 19 16:56:23 2011 +0000
@@ -17,6 +17,9 @@
 	* Fix building of the bundled libgadu library with older versions
 	  of GnuTLS. (patch plucked from upstream) (#14365)
 
+	IRC:
+	* Fix the handling of formatting following mIRC ^O (#14436)
+
 	MSN:
 	* Fix seemingly random crashing. (#14307)
 
--- a/libpurple/protocols/irc/parse.c	Sun Jul 17 20:38:09 2011 +0000
+++ b/libpurple/protocols/irc/parse.c	Tue Jul 19 16:56:23 2011 +0000
@@ -459,6 +459,7 @@
 				decoded = g_string_append(decoded, "</U>");
 			if (font)
 				decoded = g_string_append(decoded, "</FONT>");
+			bold = italic = underline = font = FALSE;
 			break;
 		default:
 			purple_debug(PURPLE_DEBUG_ERROR, "irc", "Unexpected mIRC formatting character %d\n", *cur);