pidgin: e5dd5618: statusbox: Avoid an assertion failure fr...
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Mon Aug 3 20:35:40 EDT 2009
-----------------------------------------------------------------
Revision: e5dd56183bd40ecc3647053d99b6c9a98521b9aa
Ancestor: 8b96d2a4c0173c08e9da2fa2615f9580aa8989d9
Author: darkrain42 at pidgin.im
Date: 2009-08-03T18:30:22
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/e5dd56183bd40ecc3647053d99b6c9a98521b9aa
Modified files:
pidgin/gtkstatusbox.c
ChangeLog:
statusbox: Avoid an assertion failure from ""
-------------- next part --------------
============================================================
--- pidgin/gtkstatusbox.c a68b735989d6d471d3fc97befc44c26078065d28
+++ pidgin/gtkstatusbox.c 001d99b96ee3bf40a213adda7b9251fb7cfd2534
@@ -466,7 +466,7 @@ setup_icon_box(PidginStatusBox *status_b
const char *filename = purple_prefs_get_path(PIDGIN_PREFS_ROOT "/accounts/buddyicon");
PurpleStoredImage *img = NULL;
- if (filename != NULL)
+ if (filename && *filename)
img = purple_imgstore_new_from_file(filename);
pidgin_status_box_set_buddy_icon(status_box, img);
More information about the Commits
mailing list