]> git.wh0rd.org Git - nano.git/commitdiff
another typo fix
authorDavid Lawrence Ramsey <pooka109@gmail.com>
Sat, 27 May 2006 14:46:56 +0000 (14:46 +0000)
committerDavid Lawrence Ramsey <pooka109@gmail.com>
Sat, 27 May 2006 14:46:56 +0000 (14:46 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3579 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/winio.c

index acf03df6ad6181fb27830e14c7c5e20358e95b19..019adc94139a47f0eaeaaa6bd83ea86b0b38f79d 100644 (file)
@@ -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;