summaryrefslogtreecommitdiff
path: root/mail/mutt/patches/patch-ac
blob: 9322408414ac4186c0fa4b773681dca5aff580bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.6 2004/02/20 14:02:04 wiz Exp $
--- curs_main.c.orig	Wed Jan 16 21:44:25 2002
+++ curs_main.c	Mon Feb  2 08:17:26 2004
@@ -989,6 +989,11 @@
           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)