mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Enabled @include to use variables.
Fixed the issue that the window becomes invalid when both window width and height are 0.
This commit is contained in:
@@ -934,6 +934,7 @@ void CConfigParser::ReadIniFile(const std::wstring& iniFile, int depth)
|
||||
if (wcsnicmp(strKey.c_str(), L"@include", 8) == 0)
|
||||
{
|
||||
std::wstring strIncludeFile = buffer;
|
||||
ReadVariables();
|
||||
ReplaceVariables(strIncludeFile);
|
||||
if (strIncludeFile.find(L':') == std::wstring::npos &&
|
||||
(strIncludeFile.length() < 2 || (strIncludeFile[0] != L'\\' && strIncludeFile[0] != L'/') || (strIncludeFile[1] != L'\\' && strIncludeFile[1] != L'/')))
|
||||
|
Reference in New Issue
Block a user