mirror of
https://github.com/stascorp/rdpwrap.git
synced 2024-11-23 14:07:18 +00:00
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->GetVariableInSection("SLPolicy", ValueName, &Variable))) *Value = 0;
|
||||
else *Value = Variable.ValueDec;
|
||||
return true;
|
||||
}
|
||||
*Value = Variable.ValueDec;
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user