(svn r26506) -Codechange: replace most of vsnprintf with vseprintf

This commit is contained in:
rubidium
2014-04-24 19:51:45 +00:00
parent fad2d3c709
commit e61fe21237
14 changed files with 25 additions and 20 deletions

View File

@@ -377,7 +377,7 @@ void CDECL grfmsg(int severity, const char *str, ...)
va_list va;
va_start(va, str);
vsnprintf(buf, sizeof(buf), str, va);
vseprintf(buf, lastof(buf), str, va);
va_end(va);
DEBUG(grf, severity, "[%s:%d] %s", _cur.grfconfig->filename, _cur.nfo_line, buf);