pidgin: a7b6a6e0: gg: Prevent dropping whole messages when...
rekkanoryo at pidgin.im
rekkanoryo at pidgin.im
Sat Jan 29 13:01:12 EST 2011
----------------------------------------------------------------------
Revision: a7b6a6e031e4c2be97c878cb74dc5c23e5be445e
Parent: 66136dd11f66b012f363d9edb753061f746186c6
Author: quantifier666 at gmail.com
Date: 01/29/11 12:55:28
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/a7b6a6e031e4c2be97c878cb74dc5c23e5be445e
Changelog:
gg: Prevent dropping whole messages when the text is colored. Fixes #13259.
Changes against parent 66136dd11f66b012f363d9edb753061f746186c6
patched libpurple/protocols/gg/gg.c
-------------- next part --------------
============================================================
--- libpurple/protocols/gg/gg.c c5f59b6862c12e6c792432c7f0650471eabed052
+++ libpurple/protocols/gg/gg.c 7f0250c8f719abd7922cac75d0eb20da58b5a991
@@ -1464,6 +1464,10 @@ static void ggp_recv_message_handler(Pur
increased_len += 4;
under = FALSE;
}
+
+ if (actformat->font & GG_FONT_COLOR) {
+ cformats += sizeof(struct gg_msg_richtext_color);
+ }
}
msg = message->str;
More information about the Commits
mailing list