# HG changeset patch # User Mark Doliner # Date 1089857018 0 # Node ID 6f0c90000bb508e93e0dbf52799b8624dd544fbe # Parent 03066f174777a6ddb715fd149e531ebea9af0f91 [gaim-migrate @ 10362] Make paths behave sexier on Windows in file selector dialogs when a user types a directory name and clicks "ok" when using a gtk < 2.4 committer: Tailor Script diff -r 03066f174777 -r 6f0c90000bb5 src/gtkutils.c --- a/src/gtkutils.c Thu Jul 15 01:59:05 2004 +0000 +++ b/src/gtkutils.c Thu Jul 15 02:03:38 2004 +0000 @@ -749,8 +749,8 @@ if (g_file_test(path, G_FILE_TEST_IS_DIR)) { /* append a / if needed */ - if (path[strlen(path) - 1] != '/') { - dirname = g_strconcat(path, "/", NULL); + if (path[strlen(path) - 1] != G_DIR_SEPARATOR) { + dirname = g_strconcat(path, G_DIR_SEPARATOR_S, NULL); } else { dirname = g_strdup(path); }