Mercurial > pidgin.yaz
changeset 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 | 060739bdc84d |
children | 223ff38e73ae |
files | libpurple/protocols/gg/gg.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
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;