Remove Format/FormatArgs from the core/logic bridge.

This commit is contained in:
David Anderson
2015-08-30 18:03:31 -07:00
parent 2d40af31a2
commit 9ba1363d86
15 changed files with 84 additions and 75 deletions
+2 -1
View File
@@ -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);