diff options
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r-- | mail/folder-browser.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 17b7df578c..61378cd0c2 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -119,7 +119,9 @@ folder_browser_load_folder (FolderBrowser *fb, const char *name) if (*ptr == '/') { if (url && url->path) { fprintf (stderr, "namespace = %s\n", url->path + 1); - ptr += strlen (url->path) + 1; + ptr += strlen (url->path); + if (*ptr == '/') + ptr++; } if (*ptr == '/') |