MeasureScript: Fixed an issue that Rainmeter crashes if either ScriptFile or TableName is not defined.

This commit is contained in:
spx 2010-12-13 10:54:41 +00:00
parent 13e9f54d2a
commit cb839b7ce8

View File

@ -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());
}
}