tweaks: drop two unneeded wnoutrefresh() calls in the spotlight routines

The call will be made at the end of edit_refresh() or in the main loop.
master
Benno Schulenberg 2020-06-01 20:28:07 +02:00
parent 2a44cb2ed8
commit 881106c487
1 changed files with 0 additions and 4 deletions

View File

@ -3425,8 +3425,6 @@ void spotlight(size_t from_col, size_t to_col)
wattroff(edit, interface_color_pair[SELECTED_TEXT]); wattroff(edit, interface_color_pair[SELECTED_TEXT]);
free(word); free(word);
wnoutrefresh(edit);
} }
#ifndef NANO_TINY #ifndef NANO_TINY
@ -3475,8 +3473,6 @@ void spotlight_softwrapped(size_t from_col, size_t to_col)
leftedge = break_col; leftedge = break_col;
from_col = break_col; from_col = break_col;
} }
wnoutrefresh(edit);
} }
#endif #endif