From 8d1ab51e8f588625f424ac6cab2d008792eb4b65 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 6 May 2007 13:49:21 +0000 Subject: [PATCH] updated for version 7.1a --- src/term.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/term.c b/src/term.c index 1872852612..558928b618 100644 --- a/src/term.c +++ b/src/term.c @@ -2981,7 +2981,8 @@ get_bytes_from_buf(buf, bytes, num_bytes) ++len; /* skip KE_FILLER */ /* else it should be KS_SPECIAL, and c already equals K_SPECIAL */ } - else if (c == CSI && buf[len] == KS_EXTRA && buf[len + 1] == (int)KE_CSI) + else if (c == CSI && buf[len] == KS_EXTRA + && buf[len + 1] == (int)KE_CSI) /* CSI is stored as CSI KS_SPECIAL KE_CSI to avoid confusion with * the start of a special key, see add_to_input_buf_csi(). */ len += 2;