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:
@@ -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));
|
||||
|
Reference in New Issue
Block a user