commit 02153402ec2bdc04afd1331e0f46882aa28d031c
parent b26aaa7e4292f7201fdbade91a0e37752074f64a
Author: Benno Schulenberg <bensberg@justemail.net>
Date: Fri, 29 Apr 2016 17:03:45 +0200
browser: when nothing was found, restore the global search flags
Don't skip the end of the function: use break instead of return.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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