diff -r 42dbd9f39583 -r 04b439a886e6 pidgin/gtksmiley-theme.c --- a/pidgin/gtksmiley-theme.c Tue Apr 08 19:10:53 2014 +0200 +++ b/pidgin/gtksmiley-theme.c Tue Apr 08 22:05:13 2014 +0200 @@ -177,6 +177,9 @@ break; } + if (proto) + proto->smileys = g_list_reverse(proto->smileys); + proto = g_new0(PidginSmileyThemeIndexProtocol, 1); proto->name = g_strndup(line, end - line); @@ -250,6 +253,9 @@ smiley->shortcuts = g_list_reverse(smiley->shortcuts); } + if (proto) + proto->smileys = g_list_reverse(proto->smileys); + fclose(file); if (inv_frm) {