aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/strings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/strings.c')
-rw-r--r--src/nvim/strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/strings.c b/src/nvim/strings.c
index 06622a86b7..01bd610292 100644
--- a/src/nvim/strings.c
+++ b/src/nvim/strings.c
@@ -2173,7 +2173,7 @@ String arena_printf(Arena *arena, const char *fmt, ...)
char *buf = NULL;
if (arena) {
if (!arena->cur_blk) {
- alloc_block(arena);
+ arena_alloc_block(arena);
}
// happy case, we can fit the printed string in the rest of the current