From: Richard Russon Date: Wed, 25 Sep 2019 12:30:22 +0000 (+0100) Subject: fix when $change_folder_next is set X-Git-Tag: 2019-10-25~24^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=192f5ff596b3a8973f89e3bfa682b0cdeaa6c4dd;p=neomutt fix when $change_folder_next is set --- 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);