From 192f5ff596b3a8973f89e3bfa682b0cdeaa6c4dd Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Wed, 25 Sep 2019 13:30:22 +0100 Subject: [PATCH] fix when $change_folder_next is set --- index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.c b/index.c index 226c0cb4f..fee7923cc 100644 --- a/index.c +++ b/index.c @@ -2265,7 +2265,7 @@ int mutt_index_menu(void) else { if (C_ChangeFolderNext && Context && Context->mailbox && - mutt_buffer_is_empty(&Context->mailbox->pathbuf)) + !mutt_buffer_is_empty(&Context->mailbox->pathbuf)) { mutt_buffer_strcpy(folderbuf, mailbox_path(Context->mailbox)); mutt_buffer_pretty_mailbox(folderbuf); -- 2.49.0