commit 3eda0135bcc7945bf01bb00548d7c09ddf8e8d88
parent 9c9de85afb15f2bf2e6b031dced1d12af922856c
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Mon, 22 Nov 2021 16:34:11 +0100
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.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/search.c b/src/search.c
@@ -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",