feedback: make sure that a later message can overwrite a short warning

This fixes https://savannah.gnu.org/bugs/?57901.

Bug existed since version 3.0, commit 25e98776.
master
Benno Schulenberg 2020-02-26 14:40:05 +01:00
parent 1907174c5f
commit b0eb73f7b3
1 changed files with 1 additions and 0 deletions

View File

@ -2276,6 +2276,7 @@ void warn_and_shortly_pause(const char *msg)
{
blank_bottombars();
statusline(ALERT, msg);
lastmessage = HUSH;
napms(1500);
}