aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/garray.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/garray.c')
-rw-r--r--src/nvim/garray.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/garray.c b/src/nvim/garray.c
index adc3eda5ca..6c63ce5a7c 100644
--- a/src/nvim/garray.c
+++ b/src/nvim/garray.c
@@ -198,7 +198,7 @@ void ga_concat(garray_T *gap, const char *restrict s)
return;
}
- ga_concat_len(gap, s, STRLEN(s));
+ ga_concat_len(gap, s, strlen(s));
}
/// Concatenate a string to a growarray which contains characters