X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=sidebar.c;h=57043bac6f5006a6e1ffcd4457a85147061e3788;hp=a9b0788694978a80964dfd9ab4de01f9eeee2cc1;hb=6f41c52076e60ae7f2b6337b7dc9ea3fa23400e2;hpb=60f4017cfee7116f7945c2945965c0537570a3d3 diff --git a/sidebar.c b/sidebar.c index a9b0788..57043ba 100644 --- a/sidebar.c +++ b/sidebar.c @@ -213,12 +213,12 @@ int make_sidebar_entry (char* box, int idx, size_t len) #if USE_IMAP if (l > 0 && str_ncmp (box, ImapHomeNamespace, l) == 0 && str_len (box) > l) - box += l + 1; + box += l + 1; /* we're trimming the ImapHomeNamespace, the "+ 1" is for the separator */ else #endif if (l_m > 0 && str_ncmp (box, Maildir, l_m) == 0 && str_len (box) > l_m) - box += l_m + 1; + box += l_m; else box = basename (box);