changeset 16510:c01528418cc2

I really shouldn't commit before compiling.
author Richard Laager <rlaager@wiktel.com>
date Fri, 27 Apr 2007 04:35:59 +0000
parents c8bc8048f264
children d8d5b7f45466 f1513338fbdb
files libpurple/buddyicon.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/buddyicon.c	Fri Apr 27 04:33:26 2007 +0000
+++ b/libpurple/buddyicon.c	Fri Apr 27 04:35:59 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 {