pidgin: eb63efdb: Oops, fix loading smiley themes.

darkrain42 at pidgin.im darkrain42 at pidgin.im
Sun Aug 2 01:56:06 EDT 2009


-----------------------------------------------------------------
Revision: eb63efdb919bdfea9e9d6fee25ccf056741b5274
Ancestor: 28f92254cc16ea2b606c45aa412968785f8e3ba1
Author: darkrain42 at pidgin.im
Date: 2009-08-02T05:53:56
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/eb63efdb919bdfea9e9d6fee25ccf056741b5274

Modified files:
        pidgin/gtkthemes.c

ChangeLog: 

Oops, fix loading smiley themes.

-------------- next part --------------
============================================================
--- pidgin/gtkthemes.c	511ee3eaea819c80f2f11300c351094ebd3753a4
+++ pidgin/gtkthemes.c	1cfe20a97f67926dd1e44d216962336e680723ae
@@ -242,7 +242,7 @@ void pidgin_themes_load_smiley_theme(con
 		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;


More information about the Commits mailing list