mirror of
git://git.sv.gnu.org/nano.git
synced 2025-01-10 11:32:11 +03:00
browser: when nothing was found, restore the global search flags
Don't skip the end of the function: use break instead of return.
This commit is contained in:
parent
b26aaa7e42
commit
02153402ec
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user