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:
		@@ -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());
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user