diff options
Diffstat (limited to 'src/folder.c')
-rw-r--r-- | src/folder.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/folder.c b/src/folder.c index 6d5a29d1..25db6b24 100644 --- a/src/folder.c +++ b/src/folder.c @@ -669,6 +669,9 @@ gchar *folder_item_get_identifier(FolderItem *item) folder_id = folder_get_identifier(item->folder); id = g_strconcat(folder_id, "/", item->path, NULL); +#ifdef G_OS_WIN32 + subst_char(id, G_DIR_SEPARATOR, '/'); +#endif g_free(folder_id); return id; @@ -895,6 +898,9 @@ gchar *folder_item_get_path(FolderItem *item) g_warning("folder_item_get_path: faild to convert character set\n"); item_path = g_strdup(item->path); } +#ifdef G_OS_WIN32 + subst_char(item_path, '/', G_DIR_SEPARATOR); +#endif } if (g_path_is_absolute(folder_path)) { |