tweaks: replace two direct refreshes with two scheduled ones

These direct calls were installed last year in commits 7303f0c7 and
b368faf1, but were made redundant by commit b741b1c9 one week later.
master
Benno Schulenberg 2021-11-22 16:34:11 +01:00
parent 9c9de85afb
commit 3eda0135bc
1 changed files with 2 additions and 2 deletions

View File

@ -327,7 +327,7 @@ int findnextstr(const char *needle, bool whole_word_only, int modus,
spotlighted = TRUE; spotlighted = TRUE;
light_from_col = xplustabs(); light_from_col = xplustabs();
light_to_col = wideness(line->data, found_x + found_len); light_to_col = wideness(line->data, found_x + found_len);
edit_refresh(); refresh_needed = TRUE;
} }
#endif #endif
@ -722,7 +722,7 @@ void ask_for_and_do_replacements(void)
openfile->current = beginline; openfile->current = beginline;
openfile->current_x = begin_x; openfile->current_x = begin_x;
edit_refresh(); refresh_needed = TRUE;
if (numreplaced >= 0) if (numreplaced >= 0)
statusline(REMARK, P_("Replaced %zd occurrence", statusline(REMARK, P_("Replaced %zd occurrence",