# HG changeset patch # User Herman Bloggs # Date 1052436025 0 # Node ID 1c71d1337b1caaea8362183a72d96dd268fa7a43 # Parent 5480a73b269678c0af380e2901ab23adabd0e48a [gaim-migrate @ 5713] Fix for win32 Smiley theme being saved poperly in .gaimrc committer: Tailor Script diff -r 5480a73b2696 -r 1c71d1337b1c src/gaimrc.c --- 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",