comparison libpurple/protocols/irc/parse.c @ 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 30c0ce14388a
children d2eb28c12d44
comparison
equal deleted inserted replaced
32204:8dbe2f531a89 32205:958621e23f5d
457 decoded = g_string_append(decoded, "</I>"); 457 decoded = g_string_append(decoded, "</I>");
458 if (underline) 458 if (underline)
459 decoded = g_string_append(decoded, "</U>"); 459 decoded = g_string_append(decoded, "</U>");
460 if (font) 460 if (font)
461 decoded = g_string_append(decoded, "</FONT>"); 461 decoded = g_string_append(decoded, "</FONT>");
462 bold = italic = underline = font = FALSE;
462 break; 463 break;
463 default: 464 default:
464 purple_debug(PURPLE_DEBUG_ERROR, "irc", "Unexpected mIRC formatting character %d\n", *cur); 465 purple_debug(PURPLE_DEBUG_ERROR, "irc", "Unexpected mIRC formatting character %d\n", *cur);
465 } 466 }
466 } while (*cur); 467 } while (*cur);