tweaks: replace two direct refreshes with two scheduled ones
These direct calls were installed last year in commitsmaster7303f0c7
andb368faf1
, but were made redundant by commitb741b1c9
one week later.
parent
9c9de85afb
commit
3eda0135bc
|
@ -327,7 +327,7 @@ int findnextstr(const char *needle, bool whole_word_only, int modus,
|
|||
spotlighted = TRUE;
|
||||
light_from_col = xplustabs();
|
||||
light_to_col = wideness(line->data, found_x + found_len);
|
||||
edit_refresh();
|
||||
refresh_needed = TRUE;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -722,7 +722,7 @@ void ask_for_and_do_replacements(void)
|
|||
openfile->current = beginline;
|
||||
openfile->current_x = begin_x;
|
||||
|
||||
edit_refresh();
|
||||
refresh_needed = TRUE;
|
||||
|
||||
if (numreplaced >= 0)
|
||||
statusline(REMARK, P_("Replaced %zd occurrence",
|
||||
|
|
Loading…
Reference in New Issue