diff pidgin/gtkstatusbox.c @ 29692:fb99a0067812

propagate from branch 'im.pidgin.pidgin' (head 70d69397ed952b26b453423c381c70d6783eb66d) to branch 'im.pidgin.cpw.attention_ui' (head 1cf0dea282a0d0e4aeac4770e0150d6d0c10830a)
author Marcus Lundblad <ml@update.uu.se>
date Thu, 13 Aug 2009 17:42:44 +0000
parents 6e1a582ae629
children e35043e96a1a 2dcff225172e
line wrap: on
line diff
--- a/pidgin/gtkstatusbox.c	Tue Jul 28 20:52:33 2009 +0000
+++ b/pidgin/gtkstatusbox.c	Thu Aug 13 17:42:44 2009 +0000
@@ -466,7 +466,7 @@
 		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);