From e1b4b1000650cf2e9fc18067a3b748d93dfaef8a Mon Sep 17 00:00:00 2001 From: binarymaster Date: Thu, 4 Dec 2014 23:12:59 +0300 Subject: [PATCH] Bug fix --- src-x86-x64-Fusix/RDPWrap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-x86-x64-Fusix/RDPWrap.cpp b/src-x86-x64-Fusix/RDPWrap.cpp index 3dece5c..cb577ce 100644 --- a/src-x86-x64-Fusix/RDPWrap.cpp +++ b/src-x86-x64-Fusix/RDPWrap.cpp @@ -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; }