nano

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

commit 091dd71f086eae0f7ca64405bb823678e5741cbc
parent 837475519b5b781930097f33ca819e213fa2f25f
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Thu, 11 Jan 2018 10:31:23 +0100

tweaks: remove a superfluous case -- there can never be four digits

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

diff --git a/src/winio.c b/src/winio.c @@ -1316,12 +1316,6 @@ int get_byte_kbinput(int kbinput) * Return this character as the result. */ retval = kbinput; break; - default: - /* If there are more than three digits, return this - * character as the result. (Maybe we should produce an - * error instead?) */ - retval = kbinput; - break; } /* If we have a result, reset the counter and the byte holder. */