Bug fix
This commit is contained in:
parent
c79a7bc152
commit
e1b4b10006
@ -244,9 +244,9 @@ bool OverrideSL(LPWSTR ValueName, DWORD *Value)
|
|||||||
if (IniFile->VariableExists(INI, "SLPolicy", ValueName))
|
if (IniFile->VariableExists(INI, "SLPolicy", ValueName))
|
||||||
{
|
{
|
||||||
if (!(IniFile->GetVariableInSection("SLPolicy", ValueName, &Variable))) *Value = 0;
|
if (!(IniFile->GetVariableInSection("SLPolicy", ValueName, &Variable))) *Value = 0;
|
||||||
|
else *Value = Variable.ValueDec;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
*Value = Variable.ValueDec;
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user