Mercurial > pidgin.yaz
changeset 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 | 5480a73b2696 |
children | 10b5ac17fdd6 |
files | src/gaimrc.c |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gaimrc.c Thu May 08 23:18:40 2003 +0000 +++ b/src/gaimrc.c Thu May 08 23:20:25 2003 +0000 @@ -1056,8 +1056,15 @@ fprintf(f, "\treport_idle { %d }\n", report_idle); fprintf(f, "\tweb_browser { %d }\n", web_browser); fprintf(f, "\tweb_command { %s }\n", web_command); - if (current_smiley_theme) + if (current_smiley_theme) { +#ifndef _WIN32 fprintf(f, "\tsmiley_theme { %s }\n", current_smiley_theme->path); +#else + char* tmp=wgaim_escape_dirsep(current_smiley_theme->path); + fprintf(f, "\tsmiley_theme { %s }\n", tmp); + g_free(tmp); +#endif + } fprintf(f, "\tblist_pos { %d } { %d } { %d } { %d }\n", blist_pos.x, blist_pos.y, blist_pos.width, blist_pos.height); fprintf(f, "\tconv_size { %d } { %d } { %d }\n",