diff -r c2b493e058f1 -r 5f3cb020eb74 pidgin/gtkthemes.c --- 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;