| 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; |