display: wipe stale messages from the status bar straightaway

When blank_statusbar() has been called, make sure it is effective.

This fixes https://savannah.gnu.org/bugs/?51358.
master
Benno Schulenberg 2017-07-02 17:01:24 +02:00
parent 7d46eff738
commit 14bd52ced8
1 changed files with 2 additions and 0 deletions

View File

@ -2514,6 +2514,7 @@ void do_justify(bool full_justify)
jusbuffer = NULL;
blank_statusbar();
wnoutrefresh(bottomwin);
/* Show "Uncut" again in the help lines. */
uncutfunc->desc = uncut_tag;
@ -3349,6 +3350,7 @@ void do_linter(void)
}
blank_statusbar();
wnoutrefresh(bottomwin);
#ifndef NANO_TINY
free_lints_and_return: