changeset 10811:dc59482c8d37

[gaim-migrate @ 12464] " The g_return_if_fail precondition doesn't make sense with the rest of the logic. It looks like a typo." --rlaager committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 11 Apr 2005 04:07:50 +0000
parents 9a1ced2bc585
children d087e928ffd1
files src/buddyicon.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddyicon.c	Mon Apr 11 02:20:34 2005 +0000
+++ b/src/buddyicon.c	Mon Apr 11 04:07:50 2005 +0000
@@ -414,7 +414,7 @@
 void
 gaim_buddy_icons_set_cache_dir(const char *dir)
 {
-	g_return_if_fail(cache_dir != NULL);
+	g_return_if_fail(dir != NULL);
 
 	if (cache_dir != NULL)
 		g_free(cache_dir);