Mercurial > pidgin
changeset 31531:5e574e30256b
finch: finch_notify_message is kinda buggy, conflating PurpleNotifyType and PurpleNotifyMsgType.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Tue, 03 May 2011 05:42:13 +0000 |
parents | aee75010c188 |
children | 3e11fa72c5d8 |
files | finch/gntnotify.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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;