Added string_util to common, small changes in loader.cpp

This commit is contained in:
archshift 2014-09-07 11:50:43 -07:00
parent 4ed24a0619
commit 5472fd4d9b
14 changed files with 93 additions and 87 deletions

View file

@ -121,7 +121,7 @@ void LogManager::Log(LogTypes::LOG_LEVELS level, LogTypes::LOG_TYPE type, const
if (!log->IsEnabled() || level > log->GetLevel() || ! log->HasListeners())
return;
CharArrayFromFormatV(temp, MAX_MSGLEN, fmt, args);
Common::CharArrayFromFormatV(temp, MAX_MSGLEN, fmt, args);
static const char level_to_char[7] = "ONEWID";
sprintf(msg, "%s %s:%u %c[%s] %s: %s\n", Common::Timer::GetTimeFormatted().c_str(), file, line,