mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
- Fixed: Rainmeter crashes if the Lua GetStringValue() function returns an invalid value
- Fixed: Rainmeter crashes on initialization if Lua is invalid (e.g. syntax error) - Fixed: Rainmeter crashes on mouse action if Lua file is not initialized - Fixed: Measure=SCRIPT tries to process mouse actions even if corresponding function does not exist in the Lua file causing log to fill with 'nil value' warnings - Mainly cosmetic changes to logging of erros in Measure=SCRIPT
This commit is contained in:
@ -91,7 +91,7 @@ static int AsMeterString(lua_State* tolua_S)
|
||||
static int staticLuaLog(lua_State* tolua_S)
|
||||
{
|
||||
const char* str = tolua_tostring(tolua_S,1,0);
|
||||
LuaManager::LuaLog(str);
|
||||
LuaManager::LuaLog(LOG_NOTICE, str);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user