diff --git a/src/browser.c b/src/browser.c index cb399354..460e10be 100644 --- a/src/browser.c +++ b/src/browser.c @@ -486,11 +486,9 @@ functionptrtype parse_browser_input(int *kbinput) case '/': return do_search_forward; case 'N': -#ifndef NANO_TINY return do_findprevious; -#endif case 'n': - return do_research; + return do_findnext; } } return func_from_key(kbinput); diff --git a/src/help.c b/src/help.c index 820d3e45..1ed50ea4 100644 --- a/src/help.c +++ b/src/help.c @@ -583,11 +583,9 @@ functionptrtype parse_help_input(int *kbinput) case '/': return do_search_forward; case 'N': -#ifndef NANO_TINY return do_findprevious; -#endif case 'n': - return do_research; + return do_findnext; case 'E': case 'e': case 'Q': diff --git a/src/proto.h b/src/proto.h index 20637fda..6ae51ad3 100644 --- a/src/proto.h +++ b/src/proto.h @@ -486,7 +486,6 @@ int findnextstr(const char *needle, bool whole_word_only, int modus, void do_search(void); void do_search_forward(void); void do_search_backward(void); -void do_research(void); void do_findprevious(void); void do_findnext(void); void not_found_msg(const char *str);