tweaks: remove a check that has become superfluous

Since version 5.6, commit 76742cc1, nano highlights the search match,
which means that the screen gets refreshed anyhow, so this specific
refresh for a one-row terminal is no longer needed.
This commit is contained in:
Benno Schulenberg 2021-05-07 12:20:50 +02:00
parent 4712d46462
commit 088557c516

View File

@ -433,8 +433,6 @@ void go_looking(void)
if (didfind == 1 && openfile->current == was_current &&
openfile->current_x == was_current_x)
statusline(REMARK, _("This is the only occurrence"));
else if (didfind == 1 && LINES == 1)
refresh_needed = TRUE;
else if (didfind == 0)
not_found_msg(last_search);