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

Don't skip the end of the function: use break instead of return.
master
Benno Schulenberg 2016-04-29 17:03:45 +02:00
parent b26aaa7e42
commit 02153402ec
1 changed files with 1 additions and 1 deletions

View File

@ -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