changeset 16506:d6b81413ef79

Fix a small-but-serious bug with the code to ref the buddy icons at load.
author Richard Laager <rlaager@wiktel.com>
date Fri, 27 Apr 2007 04:29:05 +0000
parents 1d1ddf972ac8
children f2114f10a39d c8bc8048f264
files libpurple/buddyicon.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/buddyicon.c	Fri Apr 27 04:28:41 2007 +0000
+++ b/libpurple/buddyicon.c	Fri Apr 27 04:29:05 2007 +0000
@@ -1023,7 +1023,7 @@
 				else
 				{
 					char *path = g_build_filename(dirname, filename, NULL);
-					if (!g_file_test(filename, G_FILE_TEST_EXISTS))
+					if (!g_file_test(path, G_FILE_TEST_EXISTS))
 					{
 						purple_blist_node_remove_setting(node,
 						                                 "buddy_icon");