From: David Lawrence Ramsey Date: Sat, 27 May 2006 14:46:56 +0000 (+0000) Subject: another typo fix X-Git-Tag: v1.3.12~101 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e2afdbb14b30f6b5c441bf28ce2336aa0e8ad14a;p=nano.git another typo fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3579 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/src/winio.c b/src/winio.c index acf03df6..019adc94 100644 --- 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;