From e0c7ff2a7ebe94fc72e41797c36106eb3e77c220 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Thu, 24 May 2018 11:34:22 +0200 Subject: [PATCH] linter: make sure the shortcuts bar will redrawn when exiting early MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The two help lines will be redrawn in main() only when the current menu is not MMAIN. So, set it to MLINTER as soon as the help lines are cleared, just before preparing to invoke the linter. This fixes https://savannah.gnu.org/bugs/?53967. Reported-by: Marco Diego Aurélio Mesquita --- src/text.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/text.c b/src/text.c index 0b5217aa..6c421190 100644 --- a/src/text.c +++ b/src/text.c @@ -3116,6 +3116,7 @@ void do_linter(void) } blank_bottombars(); + currmenu = MLINTER; statusbar(_("Invoking linter, please wait")); construct_argument_list(&lintargs, openfile->syntax->linter, openfile->filename);