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.
This commit is contained in:
Benno Schulenberg 2017-07-02 17:01:24 +02:00
parent 7d46eff738
commit 14bd52ced8

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: