mirror of
				https://github.com/chibicitiberiu/rainmeter-studio.git
				synced 2024-02-24 04:33:31 +00:00 
			
		
		
		
	- Fixed the issue that the check marks of all menu items in configs/root/variants menu are cleared if !RainmeterDeactivateConfig/!RainmeterToggleConfig is used.
- Fixed the issue that %APPDATA% isn't replaced if Rainmeter runs as different user. - Some stability improvements for activating/deactivating configs.
This commit is contained in:
		| @@ -864,6 +864,13 @@ void CConfigParser::ReadIniFile(const std::wstring& iniFile, int depth) | ||||
| 		return; | ||||
| 	} | ||||
|  | ||||
| 	// Verify whether the file exists | ||||
| 	if (_waccess(iniFile.c_str(), 0) == -1) | ||||
| 	{ | ||||
| 		DebugLog(L"Unable to read file: %s", iniFile.c_str()); | ||||
| 		return; | ||||
| 	} | ||||
|  | ||||
| 	// Avoid "IniFileMapping" | ||||
| 	std::wstring iniRead = GetAlternateFileName(iniFile); | ||||
| 	bool alternate = false; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 spx
					spx