This commit is contained in:
Birunthan Mohanathas
2013-05-30 17:19:42 +03:00
parent 05a9d9188d
commit a3d8f73f6c
27 changed files with 202 additions and 204 deletions

View File

@ -70,7 +70,7 @@ void LuaManager::ReportErrors(lua_State* L, const std::wstring& file)
std::wstring str(file, file.find_last_of(L'\\') + 1);
str += StringUtil::Widen(error);
CLogger_ErrorF(L"Script: %s", str.c_str());
LogErrorF(L"Script: %s", str.c_str());
}
void LuaManager::PushWide(lua_State* L, const WCHAR* str)

View File

@ -54,7 +54,7 @@ static int Print(lua_State* L)
lua_pop(L, 1);
}
CLogger::Debug(StringUtil::Widen(message).c_str());
LogDebug(StringUtil::Widen(message).c_str());
return 0;
}