nano

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

commit 44a6c4963b565e0eb77cf262601f8ce1ccc0a0d2
parent 622bfb5b834dc9f318868fd3c9e6300015794875
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Tue, 15 Jun 2021 10:20:28 +0200

tweaks: avoid a compiler warning when configured with --enable-tiny

Diffstat:
Msrc/nano.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/nano.c b/src/nano.c @@ -2379,9 +2379,9 @@ int main(int argc, char **argv) #endif /* If there's a +LINE[,COLUMN] argument here, eat it up. */ if (optind < argc - 1 && argv[optind][0] == '+') { +#ifndef NANO_TINY int n = 1; -#ifndef NANO_TINY while (isalpha(argv[optind][n])) { switch (argv[optind][n++]) { case 'c': SET(CASE_SENSITIVE); break;