Mercurial > pidgin.yaz
diff 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 |
line wrap: on
line diff
--- a/libpurple/protocols/gg/gg.c Wed Jan 26 18:48:19 2011 +0000 +++ b/libpurple/protocols/gg/gg.c Sat Jan 29 17:55:28 2011 +0000 @@ -1464,6 +1464,10 @@ increased_len += 4; under = FALSE; } + + if (actformat->font & GG_FONT_COLOR) { + cformats += sizeof(struct gg_msg_richtext_color); + } } msg = message->str;