From 454f5cbdcef6c11623a664e0de861540df15e94d Mon Sep 17 00:00:00 2001 From: Benno Schulenberg <bensberg@justemail.net> Date: Sat, 3 Dec 2016 19:38:35 +0100 Subject: [PATCH] tweaks: remove a superfluous cleanup call At the very beginning of do_replace(), nothing has been changed or initialized yet, so there is nothing to refresh or clean up. --- src/search.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/search.c b/src/search.c index 5a6c16e5..f847977d 100644 --- a/src/search.c +++ b/src/search.c @@ -774,7 +774,6 @@ void do_replace(void) if (ISSET(VIEW_MODE)) { print_view_warning(); - search_replace_abort(); return; } -- GitLab