nano

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

commit ade975891b3c0d0a3882f37ce8c2623eb5fc4a32
parent 479e56bdd63b054847658b2b6fbf6738d3f55567
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun,  7 Jul 2024 17:11:30 +0200

tweaks: add a space after a '+', for consistent formatting

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

diff --git a/src/nano.c b/src/nano.c @@ -2552,7 +2552,7 @@ int main(int argc, char **argv) maybe_two: while (--coda > filename + 1 && ('0' <= *coda && *coda <= '9')) ; - if (*coda == ':' && ('0' <= *(coda + 1) && *(coda +1) <= '9')) { + if (*coda == ':' && ('0' <= *(coda + 1) && *(coda + 1) <= '9')) { *coda = '\0'; if (stat(filename, &fileinfo) < 0) { *coda = ':';