summaryrefslogtreecommitdiff
path: root/mail/mutt-devel/patches/patch-ac
blob: 8de0b48a4c4c2ede78774a146f36d332e7b4ef9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-ac,v 1.4 2004/07/21 22:37:10 jlam Exp $

--- curs_main.c.orig	Wed Nov  5 04:41:31 2003
+++ curs_main.c
@@ -1048,6 +1048,11 @@ CHECK_IMAP_ACL(IMAP_ACL_DELETE);
           cp = _("Open mailbox");
 
 	buf[0] = '\0';
+	if (option (OPTCHANGEFOLDERNEXT) && Context && Context->path)
+	{
+	  strfcpy (buf, Context->path, sizeof (buf));
+	  mutt_pretty_mailbox (buf);
+	}
 	mutt_buffy (buf, sizeof (buf));
 
 	if (mutt_enter_fname (cp, buf, sizeof (buf), &menu->redraw, 1) == -1)