Remove Format/FormatArgs from the core/logic bridge.
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
|
||||
#include "ProfileTools.h"
|
||||
#include <stdarg.h>
|
||||
#include <am-string.h>
|
||||
|
||||
ProfileToolManager g_ProfileToolManager;
|
||||
|
||||
@@ -65,7 +66,7 @@ render_help(const char *fmt, ...)
|
||||
|
||||
va_list ap;
|
||||
va_start(ap, fmt);
|
||||
smcore.FormatArgs(buffer, sizeof(buffer), fmt, ap);
|
||||
ke::SafeVsprintf(buffer, sizeof(buffer), fmt, ap);
|
||||
va_end(ap);
|
||||
|
||||
rootmenu->ConsolePrint("%s", buffer);
|
||||
|
||||
Reference in New Issue
Block a user