summaryrefslogtreecommitdiffstats
path: root/src/digraph.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/digraph.c')
-rw-r--r--src/digraph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/digraph.c b/src/digraph.c
index ac51d50a79..fb45c15248 100644
--- a/src/digraph.c
+++ b/src/digraph.c
@@ -1682,7 +1682,7 @@ registerdigraph(int char1, int char2, int n)
}
// Add a new digraph to the table.
- if (ga_grow(&user_digraphs, 1) != OK)
+ if (ga_grow(&user_digraphs, 1) == FAIL)
return;
dp = (digr_T *)user_digraphs.ga_data + user_digraphs.ga_len;