summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
44f1b10)
correctly handle Maildir with and without trailing slash when printing sidebar entries.
git-svn-id: svn://svn.berlios.de/mutt-ng/trunk@528
e385b8ad-14ed-0310-8656-
cc95a2468c6d
else
#endif
if (l_m > 0 && str_ncmp (box, Maildir, l_m) == 0 &&
else
#endif
if (l_m > 0 && str_ncmp (box, Maildir, l_m) == 0 &&
+ if (Maildir[strlen(Maildir)-1]!='/') {
+ box += 1;
+ }
+ } else
box = basename (box);
if (option (OPTSHORTENHIERARCHY) && str_len (box) > len-lencnt-1) {
box = basename (box);
if (option (OPTSHORTENHIERARCHY) && str_len (box) > len-lencnt-1) {