Commit 7d46eff7 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

display: when back in the main loop, always redraw the help lines

(Well, redraw them when they're switched on, of course.)  Redraw
them so that they are shown correctly if their content changed.

This fixes https://savannah.gnu.org/bugs/?51356.
and fixes https://savannah.gnu.org/bugs/?51357.
No related merge requests found
Showing with 3 additions and 5 deletions
+3 -5
......@@ -2605,8 +2605,7 @@ int main(int argc, char **argv)
}
#endif
if (currmenu != MMAIN)
display_main_list();
display_main_list();
lastmessage = HUSH;
as_an_at = TRUE;
......
......@@ -2438,7 +2438,7 @@ void do_justify(bool full_justify)
edit_refresh();
/* Display the shortcut list with UnJustify. */
/* Show "Unjustify" in the help lines. */
uncutfunc->desc = unjust_tag;
display_main_list();
......@@ -2515,9 +2515,8 @@ void do_justify(bool full_justify)
blank_statusbar();
/* Display the shortcut list with UnCut. */
/* Show "Uncut" again in the help lines. */
uncutfunc->desc = uncut_tag;
display_main_list();
}
/* Justify the current paragraph. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment