tweaks: don't redraw the help lines (if present), and normalize a brace

master
Benno Schulenberg 2021-11-21 11:05:59 +01:00
parent bbed065fa8
commit c9fb1cf85a
2 changed files with 2 additions and 3 deletions

View File

@ -2561,7 +2561,7 @@ int main(int argc, char **argv)
edit_scroll(FORWARD);
wnoutrefresh(edit);
}
redrawwin(bottomwin);
wredrawln(bottomwin, 0 ,1);
wnoutrefresh(bottomwin);
place_the_cursor();
} else if (ISSET(ZERO) && lastmessage > VACUUM)

View File

@ -1703,8 +1703,7 @@ void check_statusblank(void)
wipe_statusbar();
/* When windows overlap, make sure to show the edit window now. */
if (currmenu == MMAIN && (ISSET(ZERO) || LINES == 1))
{
if (currmenu == MMAIN && (ISSET(ZERO) || LINES == 1)) {
wredrawln(edit, editwinrows - 1, 1);
wnoutrefresh(edit);
}