Commit 02153402 authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

browser: when nothing was found, restore the global search flags

Don't skip the end of the function: use break instead of return.
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
...@@ -770,7 +770,7 @@ void findnextfile(const char *needle) ...@@ -770,7 +770,7 @@ void findnextfile(const char *needle)
if (came_full_circle) { if (came_full_circle) {
/* We're back at the beginning and didn't find anything. */ /* We're back at the beginning and didn't find anything. */
not_found_msg(needle); not_found_msg(needle);
return; break;
} }
/* Move to the next filename in the list. If we've reached the /* Move to the next filename in the list. If we've reached the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment