# HG changeset patch # User Paul Aurich # Date 1304401333 0 # Node ID 5e574e30256b53b1c6397ae874fe2270fe786b0a # Parent aee75010c1884cb17c8bb024768e6822e2bbdd62 finch: finch_notify_message is kinda buggy, conflating PurpleNotifyType and PurpleNotifyMsgType. diff -r aee75010c188 -r 5e574e30256b finch/gntnotify.c --- a/finch/gntnotify.c Tue May 03 05:32:23 2011 +0000 +++ b/finch/gntnotify.c Tue May 03 05:42:13 2011 +0000 @@ -84,6 +84,10 @@ if (secondary) { GntWidget *msg; + /* XXX: This is broken. type is PurpleNotifyMsgType, not + * PurpleNotifyType. Also, the if() followed by the + * inner switch doesn't make much sense. + */ if (type == PURPLE_NOTIFY_FORMATTED) { int width = -1, height = -1; char *plain = (char*)secondary;