display: do not unnecessarily wipe the status bar

It would wipe the edit window if there is just one row.

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

Bug existed since version 2.9.3.
This commit is contained in:
Benno Schulenberg 2020-09-25 16:47:36 +02:00
parent 2c41600957
commit 4a403ae00f

View File

@ -3314,7 +3314,6 @@ void draw_all_subwindows(void)
#endif
if (currmenu != MBROWSER && currmenu != MWHEREISFILE && currmenu != MGOTODIR)
edit_refresh();
wipe_statusbar();
bottombars(currmenu);
}