nano

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

commit e2afdbb14b30f6b5c441bf28ce2336aa0e8ad14a
parent 5b1d876045f40d3a84d4cd029ab0027156d737ec
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sat, 27 May 2006 14:46:56 +0000

another typo fix


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3579 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

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

diff --git a/src/winio.c b/src/winio.c @@ -530,7 +530,7 @@ int parse_kbinput(WINDOW *win, bool *meta_key, bool *func_key) * sequence counter and interpret the digit. If the * byte sequence's range is not limited to 2XX, fall * through. */ - if (('0' <= *kbinput && *kbinput <= '6' && + if (('0' <= *kbinput && *kbinput <= '2' && byte_digits == 0) || ('0' <= *kbinput && *kbinput <= '9' && byte_digits > 0)) { int byte;