Files
pkgsrc-ng/mail/mutt/patches/patch-ao
2016-11-18 22:39:22 +01:00

19 lines
523 B
Plaintext

$NetBSD: patch-ao,v 1.2 2016/08/21 11:39:31 wiz Exp $
Add change_folder_next option.
--- curs_main.c.orig 2016-08-11 01:47:00.000000000 +0000
+++ curs_main.c
@@ -1206,6 +1206,11 @@ int mutt_index_menu (void)
#endif
else
{
+ if (option (OPTCHANGEFOLDERNEXT) && Context && Context->path)
+ {
+ strfcpy (buf, Context->path, sizeof (buf));
+ mutt_pretty_mailbox (buf, sizeof (buf));
+ }
mutt_buffy (buf, sizeof (buf));
if (mutt_enter_fname (cp, buf, sizeof (buf), &menu->redraw, 1) == -1)