mirror of
git://git.sv.gnu.org/nano.git
synced 2025-03-18 23:43:38 +03:00
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.
This commit is contained in:
parent
2a44cb2ed8
commit
881106c487
@ -3425,8 +3425,6 @@ void spotlight(size_t from_col, size_t to_col)
|
||||
wattroff(edit, interface_color_pair[SELECTED_TEXT]);
|
||||
|
||||
free(word);
|
||||
|
||||
wnoutrefresh(edit);
|
||||
}
|
||||
|
||||
#ifndef NANO_TINY
|
||||
@ -3475,8 +3473,6 @@ void spotlight_softwrapped(size_t from_col, size_t to_col)
|
||||
leftedge = break_col;
|
||||
from_col = break_col;
|
||||
}
|
||||
|
||||
wnoutrefresh(edit);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user