diff options
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r-- | mail/em-folder-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index c54c3fabd8..7e6866e73d 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -1233,7 +1233,7 @@ emft_popup_new_folder_response (EMFolderSelector *emfs, int response, EMFolderTr camel_object_unref (store); /* FIXME: camel_store_create_folder should just take full path names */ - path = g_strdup (path); + path = g_strdup (path[0] == '/' ? path + 1 : path); if (!(name = strrchr (path, '/'))) { name = path; parent = ""; |