mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
MeasureScript: Fixed an issue that Rainmeter crashes if either ScriptFile or TableName is not defined.
This commit is contained in:
parent
13e9f54d2a
commit
cb839b7ce8
@ -232,12 +232,12 @@ void CMeasureScript::ReadConfig(CConfigParser& parser, const WCHAR* section)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LuaManager::LuaLog("%s : TableName missing.", m_ANSIName);
|
LuaManager::LuaLog("%s : TableName missing.", m_ANSIName.c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
LuaManager::LuaLog("%s : ScriptFile missing.", m_ANSIName);
|
LuaManager::LuaLog("%s : ScriptFile missing.", m_ANSIName.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user