2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 02:27:40 -04:00

Let's use vsnprintf for those legacy methods...

This commit is contained in:
2013-02-01 14:45:22 -05:00
parent 798764d84e
commit 470ed86187
3 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ void PrintStringF(void pfun(const char *),const char * fmt, ...)
char buffy[512];
va_start(args, fmt);
vsprintf(buffy, fmt, args);
vsnprintf(buffy, arrsize(buffy), fmt, args);
va_end(args);
pfun(buffy);
}