changeset 16622:8d8168fada21

merge of '833c9b8a7ffaa6f0c0f194a0c73d46d0ec0a64e2' and 'fdf356d17ca91075a288bb9224e619fc80ae7b36'
author Richard Laager <rlaager@wiktel.com>
date Sun, 29 Apr 2007 01:08:25 +0000
parents dbd0a01a9a81 (current diff) 317f3ae0ef93 (diff)
children dd6e1dde4cb5 36981d83b20c
files libpurple/buddyicon.c libpurple/version.h pidgin/plugins/perl/common/GtkUI.pm pidgin/plugins/perl/common/GtkUI.xs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/buddyicon.c	Sun Apr 29 01:04:19 2007 +0000
+++ b/libpurple/buddyicon.c	Sun Apr 29 01:08:25 2007 +0000
@@ -909,7 +909,7 @@
 		char *new_filename;
 
 		if (!read_icon_file(path, &icon_data, &icon_len) ||
-		    icon_data == NULL || icon_len > 0)
+		    icon_data == NULL || icon_len <= 0)
 		{
 			delete_buddy_icon_settings(node, setting_name);
 			g_free(path);