Mercurial > pidgin.yaz
comparison src/gaimrc.c @ 5337:1c71d1337b1c
[gaim-migrate @ 5713]
Fix for win32 Smiley theme being saved poperly in .gaimrc
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Thu, 08 May 2003 23:20:25 +0000 |
parents | 7c9393b1ea36 |
children | af62169c74fd |
comparison
equal
deleted
inserted
replaced
5336:5480a73b2696 | 5337:1c71d1337b1c |
---|---|
1054 fprintf(f, "\tforeground { %d } { %d } { %d }\n", fgcolor.red, fgcolor.green, fgcolor.blue); | 1054 fprintf(f, "\tforeground { %d } { %d } { %d }\n", fgcolor.red, fgcolor.green, fgcolor.blue); |
1055 fprintf(f, "\tbackground { %d } { %d } { %d }\n", bgcolor.red, bgcolor.green, bgcolor.blue); | 1055 fprintf(f, "\tbackground { %d } { %d } { %d }\n", bgcolor.red, bgcolor.green, bgcolor.blue); |
1056 fprintf(f, "\treport_idle { %d }\n", report_idle); | 1056 fprintf(f, "\treport_idle { %d }\n", report_idle); |
1057 fprintf(f, "\tweb_browser { %d }\n", web_browser); | 1057 fprintf(f, "\tweb_browser { %d }\n", web_browser); |
1058 fprintf(f, "\tweb_command { %s }\n", web_command); | 1058 fprintf(f, "\tweb_command { %s }\n", web_command); |
1059 if (current_smiley_theme) | 1059 if (current_smiley_theme) { |
1060 #ifndef _WIN32 | |
1060 fprintf(f, "\tsmiley_theme { %s }\n", current_smiley_theme->path); | 1061 fprintf(f, "\tsmiley_theme { %s }\n", current_smiley_theme->path); |
1062 #else | |
1063 char* tmp=wgaim_escape_dirsep(current_smiley_theme->path); | |
1064 fprintf(f, "\tsmiley_theme { %s }\n", tmp); | |
1065 g_free(tmp); | |
1066 #endif | |
1067 } | |
1061 fprintf(f, "\tblist_pos { %d } { %d } { %d } { %d }\n", | 1068 fprintf(f, "\tblist_pos { %d } { %d } { %d } { %d }\n", |
1062 blist_pos.x, blist_pos.y, blist_pos.width, blist_pos.height); | 1069 blist_pos.x, blist_pos.y, blist_pos.width, blist_pos.height); |
1063 fprintf(f, "\tconv_size { %d } { %d } { %d }\n", | 1070 fprintf(f, "\tconv_size { %d } { %d } { %d }\n", |
1064 conv_size.width, conv_size.height, conv_size.entry_height); | 1071 conv_size.width, conv_size.height, conv_size.entry_height); |
1065 fprintf(f, "\tbuddy_chat_size { %d } { %d } { %d }\n", | 1072 fprintf(f, "\tbuddy_chat_size { %d } { %d } { %d }\n", |