diff options
Diffstat (limited to 'src/spellfile.c')
-rw-r--r-- | src/spellfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spellfile.c b/src/spellfile.c index 1a7bd1f4c2..710e4388f6 100644 --- a/src/spellfile.c +++ b/src/spellfile.c @@ -3428,7 +3428,7 @@ add_fromto( fromto_T *ftp; char_u word[MAXWLEN]; - if (ga_grow(gap, 1) != OK) + if (ga_grow(gap, 1) == FAIL) return; ftp = ((fromto_T *)gap->ga_data) + gap->ga_len; |