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 f4dce0222a..2d30d4fb16 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -3890,7 +3890,7 @@ getcmdkeycmd(
got_int = FALSE;
while (c1 != NUL && !aborted)
{
- if (ga_grow(&line_ga, 32) != OK)
+ if (ga_grow(&line_ga, 32) == FAIL)
{
aborted = TRUE;
break;