diff options
Diffstat (limited to 'Src/utils.c')
-rw-r--r-- | Src/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/utils.c b/Src/utils.c index 0aa0dfe2f..2e124443f 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -4744,7 +4744,7 @@ getkeystring(char *s, int *len, int how, int *misc) } else if ((how & GETKEY_DOLLAR_QUOTE) && *s == Snull) { for (u = t; (*u++ = *s++);); return t + 1; - } else if (*s == '^' && !control && (how & GETKEY_CTRL)) { + } else if (*s == '^' && !control && (how & GETKEY_CTRL) && s[1]) { control = 1; continue; #ifdef MULTIBYTE_SUPPORT |