0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.0.0709: libvterm cannot use vsnprintf()

Problem:    Libvterm cannot use vsnprintf(), it does not exist in C90.
Solution:   Use vim_vsnprintf() instead.
This commit is contained in:
Bram Moolenaar
2017-07-11 22:34:51 +02:00
parent 292eff0c5a
commit 8327d1df17
7 changed files with 51 additions and 10 deletions

View File

@@ -2301,7 +2301,7 @@ coloncmd(char *cmd, ...)
va_list ap;
va_start(ap, cmd);
vim_vsnprintf(buf, sizeof(buf), cmd, ap, NULL);
vim_vsnprintf(buf, sizeof(buf), cmd, ap);
va_end(ap);
nbdebug((" COLONCMD %s\n", buf));