diff options
author | bfredl <bjorn.linse@gmail.com> | 2024-03-08 08:57:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-08 08:57:09 +0100 |
commit | 55c9e2c96e28059a5102e2551b16b4fa4592723b (patch) | |
tree | 5636e0c1c10eb25f0af62cc89ee27133230368e0 /src/nvim/strings.c | |
parent | 6a580b997b9f8124d23ca6c87a47b4fec2e3e9e7 (diff) | |
parent | dc37c1550bed46fffbb677d343cdc5bc94056219 (diff) | |
download | rneovim-55c9e2c96e28059a5102e2551b16b4fa4592723b.tar.gz rneovim-55c9e2c96e28059a5102e2551b16b4fa4592723b.tar.bz2 rneovim-55c9e2c96e28059a5102e2551b16b4fa4592723b.zip |
Merge pull request #27655 from bfredl/mpack_obj
refactor(msgpack): allow flushing buffer while packing msgpack
Diffstat (limited to 'src/nvim/strings.c')
-rw-r--r-- | src/nvim/strings.c | 2 |
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 |