Fix a small-but-serious bug with the code to ref the buddy icons at load.

Fri, 27 Apr 2007 04:29:05 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Fri, 27 Apr 2007 04:29:05 +0000
changeset 16566
98c93d211a45
parent 16565
f5cd28cc7367
child 16567
4d79ee03965d
child 16570
4bd26c538e5c

Fix a small-but-serious bug with the code to ref the buddy icons at load.

libpurple/buddyicon.c file | annotate | diff | comparison | revisions
--- 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");

mercurial