nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit cecf453b142aad080e8b6687fa9389dacf18b623
parent c3a02f8094fb03912efae4346a7b73b4ab629ad4
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu, 10 May 2018 18:17:54 +0200

tweaks: use symbolic names instead of puzzling TRUE and FALSE

Diffstat:
Msrc/browser.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/browser.c b/src/browser.c @@ -168,12 +168,12 @@ char *do_browser(char *path) } else if (func == do_search_forward) { do_filesearch(); } else if (func == do_research) { - do_fileresearch(TRUE); + do_fileresearch(FORWARD); #ifndef NANO_TINY } else if (func == do_findprevious) { - do_fileresearch(FALSE); + do_fileresearch(BACKWARD); } else if (func == do_findnext) { - do_fileresearch(TRUE); + do_fileresearch(FORWARD); #endif } else if (func == do_left) { if (selected > 0)