From 919f46b91326746b9351d85ee172f643500cd9de Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Thu, 31 Aug 2000 15:14:25 +0000 Subject: [PATCH] patch-1.3.8.bj.pretty_mailbox.1 --- muttlib.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/muttlib.c b/muttlib.c index 45a1aef6..f072c4d5 100644 --- a/muttlib.c +++ b/muttlib.c @@ -693,14 +693,9 @@ void mutt_pretty_mailbox (char *s) } *q = 0; - if (Maildir && mutt_strncmp (s, Maildir, (len = mutt_strlen (Maildir))) == 0) + if (mutt_strncmp (s, Maildir, (len = mutt_strlen (Maildir))) == 0 && + s[len] == '/') { - /* chop off delimiters after Maildir. '.' is a hack because IMAP can - * use arbitrary delimiters, but we may not have a connection. Could - * call an IMAP delimiter getting function here later, otherwise - * default to this. */ - if (s[len] != '/' && s[len] != '.') - len--; *s++ = '='; memmove (s, s + len, mutt_strlen (s + len) + 1); } -- 2.40.0