commit a56a881c4b4864ad203060bae2c63208d6b041f6
parent 633343de2413a65a5311cfda84c252d8f9e35122
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 20 Aug 2017 09:22:19 +0200
browser: correct the inverted search behavior for Alt+Up/Alt+Down
This should have been added and amended in the previous commit --
my mistake.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/browser.c b/src/browser.c
@@ -173,12 +173,12 @@ char *do_browser(char *path)
} else if (func == do_search) {
do_filesearch();
} else if (func == do_research) {
- do_fileresearch(FALSE);
+ do_fileresearch(TRUE);
#ifndef NANO_TINY
} else if (func == do_findprevious) {
- do_fileresearch(TRUE);
- } else if (func == do_findnext) {
do_fileresearch(FALSE);
+ } else if (func == do_findnext) {
+ do_fileresearch(TRUE);
#endif
} else if (func == do_left) {
if (selected > 0)