changeset 16503:d8d5b7f45466

merge of '9e36044d9ae4d6c8a734ad3961483c66893a8898' and 'd15c024696d260cd120ad324dc13006a1a43fb22'
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 27 Apr 2007 04:40:17 +0000
parents 6379629a976e (current diff) c01528418cc2 (diff)
children 089531c08d75 18d566625ae5
files
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/buddyicon.c	Fri Apr 27 04:38:03 2007 +0000
+++ b/libpurple/buddyicon.c	Fri Apr 27 04:40:17 2007 +0000
@@ -972,8 +972,8 @@
 
 		if (account_icon_file != NULL)
 		{
-			char *path = g_build_filename(dirname, filename, NULL);
-			if (!g_file_test(filename, G_FILE_TEST_EXISTS))
+			char *path = g_build_filename(dirname, account_icon_file, NULL);
+			if (!g_file_test(path, G_FILE_TEST_EXISTS))
 			{
 				purple_account_set_string(account, "buddy_icon", NULL);
 			} else {