pidgin/gtkthemes.c

branch
release-2.x.y
changeset 34515
93d7461ccc1c
parent 34514
46ba9c764edc
child 34521
90aea2dd2e4e
child 35967
cde50837937d
equal deleted inserted replaced
34514:46ba9c764edc 34515:93d7461ccc1c
220 } 220 }
221 } 221 }
222 222
223 void pidgin_themes_load_smiley_theme(const char *file, gboolean load) 223 void pidgin_themes_load_smiley_theme(const char *file, gboolean load)
224 { 224 {
225 FILE *f = g_fopen(file, "r"); 225 FILE *f = g_fopen(file, "rb");
226 char buf[256]; 226 char buf[256];
227 char *i; 227 char *i;
228 gsize line_nbr = 0; 228 gsize line_nbr = 0;
229 struct smiley_theme *theme=NULL; 229 struct smiley_theme *theme=NULL;
230 struct smiley_list *list = NULL; 230 struct smiley_list *list = NULL;

mercurial