Using the Search key bindings also during a Re-search, to enable cancelling.

This fixes Savannah bug #47159.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5738 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
Benno Schulenberg 2016-03-17 09:12:30 +00:00
parent 8866f728a2
commit 19bc63db28
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2016-03-17 Benno Schulenberg <bensberg@justemail.net>
* src/search.c (do_research): Use the Search key bindings also during
a Re-search, to enable cancelling. This fixes Savannah bug #47159.
2016-03-14 Benno Schulenberg <bensberg@justemail.net>
* src/color.c (color_update): Don't dereference a possible NULL.
* src/rcfile.c (parse_colors): Make error message equal to others.

View File

@ -522,6 +522,9 @@ void do_research(void)
return;
#endif
/* Use the search-menu key bindings, to allow cancelling. */
currmenu = MWHEREIS;
findnextstr_wrap_reset();
didfind = findnextstr(
#ifndef DISABLE_SPELLER