summaryrefslogtreecommitdiffstats
path: root/src/getchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/getchar.c b/src/getchar.c
index 447805e0f5..912c0d22a8 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -2183,7 +2183,7 @@ vgetorpeek(advance)
}
/* Need more chars for partly match. */
if (mlen == typebuf.tb_len)
- keylen = KL_PART_MAP;
+ keylen = KL_PART_KEY;
else if (max_mlen < mlen)
/* no match, may have to check for termcode at
* next character */