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
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]);
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue