From 02153402ec2bdc04afd1331e0f46882aa28d031c Mon Sep 17 00:00:00 2001 From: Benno Schulenberg <bensberg@justemail.net> Date: Fri, 29 Apr 2016 17:03:45 +0200 Subject: [PATCH] browser: when nothing was found, restore the global search flags Don't skip the end of the function: use break instead of return. --- src/browser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/browser.c b/src/browser.c index 31972be5..1f594a93 100644 --- a/src/browser.c +++ b/src/browser.c @@ -770,7 +770,7 @@ void findnextfile(const char *needle) if (came_full_circle) { /* We're back at the beginning and didn't find anything. */ not_found_msg(needle); - return; + break; } /* Move to the next filename in the list. If we've reached the -- GitLab