This commit is contained in:
binarymaster 2014-12-04 23:12:59 +03:00
parent c79a7bc152
commit e1b4b10006
1 changed files with 1 additions and 1 deletions

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;
}