From: Thomas Roessler Date: Mon, 20 Mar 2000 10:32:18 +0000 (+0000) Subject: Fix the "!!" shortcut for the last folder. Noted by Byrial Jensen. X-Git-Tag: mutt-1-1-10-rel~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=416b23ea1123662b850425c0eb1175840861013e;p=mutt Fix the "!!" shortcut for the last folder. Noted by Byrial Jensen. --- diff --git a/muttlib.c b/muttlib.c index a0022b9f..baa073dd 100644 --- a/muttlib.c +++ b/muttlib.c @@ -363,12 +363,12 @@ char *mutt_expand_path (char *s, size_t slen) q = Inbox; else if (*s == '<') q = Outbox; + else if (!mutt_strcmp (s, "!!")) /* elm compatibility */ + q = LastFolder; else if (*s == '!') q = Spoolfile; else if (*s == '-') q = LastFolder; - else if (!mutt_strcmp (s, "!!")) /* elm compatibility */ - q = LastFolder; else return s;