comparison libpurple/protocols/gg/gg.c @ 31616:1607b413a139

gg: Prevent dropping whole messages when the text is colored. Fixes #13259. committer: John Bailey <rekkanoryo@rekkanoryo.org>
author quantifier666@gmail.com
date Sat, 29 Jan 2011 17:55:28 +0000
parents a8cc50c2279f
children 64b362d1c49e
comparison
equal deleted inserted replaced
31615:060739bdc84d 31616:1607b413a139
1461 } 1461 }
1462 } else if (under) { 1462 } else if (under) {
1463 g_string_insert(message, byteoffset, "</u>"); 1463 g_string_insert(message, byteoffset, "</u>");
1464 increased_len += 4; 1464 increased_len += 4;
1465 under = FALSE; 1465 under = FALSE;
1466 }
1467
1468 if (actformat->font & GG_FONT_COLOR) {
1469 cformats += sizeof(struct gg_msg_richtext_color);
1466 } 1470 }
1467 } 1471 }
1468 1472
1469 msg = message->str; 1473 msg = message->str;
1470 g_string_free(message, FALSE); 1474 g_string_free(message, FALSE);