browser: when nothing was found, restore the global search flags
Don't skip the end of the function: use break instead of return.master
parent
b26aaa7e42
commit
02153402ec
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue