aboutsummaryrefslogtreecommitdiff
path: root/src/charset.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/charset.c')
-rw-r--r--src/charset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charset.c b/src/charset.c
index a0514cf5b0..0aabacd0b6 100644
--- a/src/charset.c
+++ b/src/charset.c
@@ -422,7 +422,7 @@ char_u* str_foldcase(char_u *str, int orglen, char_u *buf, int buflen)
// Copy "str" into "buf" or allocated memory, unmodified.
if (buf == NULL) {
- ga_init2(&ga, 1, 10);
+ ga_init(&ga, 1, 10);
if (ga_grow(&ga, len + 1) == FAIL) {
return NULL;