browser: when nothing was found, restore the global search flags
Don't skip the end of the function: use break instead of return.
Этот коммит содержится в:
родитель
b26aaa7e42
Коммит
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
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user