aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r--camel/camel-folder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index 405107e2a8..fd1fc13736 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -1349,7 +1349,7 @@ folder_rename (CamelFolder *folder, const char *new)
g_free(folder->full_name);
folder->full_name = g_strdup(new);
g_free(folder->name);
- tmp = strrchr(new, '/');
+ tmp = strrchr(new, folder->parent_store->dir_sep);
folder->name = g_strdup(tmp?tmp+1:new);
}