diff --git a/Library/MeasureScript.cpp b/Library/MeasureScript.cpp index ba9f30bf..d8453472 100644 --- a/Library/MeasureScript.cpp +++ b/Library/MeasureScript.cpp @@ -232,12 +232,12 @@ void CMeasureScript::ReadConfig(CConfigParser& parser, const WCHAR* section) } else { - LuaManager::LuaLog("%s : TableName missing.", m_ANSIName); + LuaManager::LuaLog("%s : TableName missing.", m_ANSIName.c_str()); } } else { - LuaManager::LuaLog("%s : ScriptFile missing.", m_ANSIName); + LuaManager::LuaLog("%s : ScriptFile missing.", m_ANSIName.c_str()); } }