This commit is contained in:
binarymaster 2014-12-04 23:12:59 +03:00
parent c79a7bc152
commit e1b4b10006

View File

@ -244,9 +244,9 @@ bool OverrideSL(LPWSTR ValueName, DWORD *Value)
if (IniFile->VariableExists(INI, "SLPolicy", ValueName))
{
if (!(IniFile->GetVariableInSection("SLPolicy", ValueName, &Variable))) *Value = 0;
else *Value = Variable.ValueDec;
return true;
}
*Value = Variable.ValueDec;
return false;
}