changeset 27801:5b21007cf503

Oops, fix loading smiley themes.
author Paul Aurich <paul@darkrain42.org>
date Sun, 02 Aug 2009 05:53:56 +0000
parents deecc1d663c4
children 20f13609ca7a
files pidgin/gtkthemes.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkthemes.c	Sun Aug 02 05:34:11 2009 +0000
+++ b/pidgin/gtkthemes.c	Sun Aug 02 05:53:56 2009 +0000
@@ -242,7 +242,7 @@
 		lst = lst->next;
 	}
 
-	if (theme == current_smiley_theme) {
+	if (theme != NULL && theme == current_smiley_theme) {
 		/* Don't reload the theme if it is already loaded */
 		fclose(f);
 		return;