From 7c4de9c74dec6f3e6fe54760c92050f749b24574 Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 21 Oct 2005 14:24:01 +0000 Subject: [PATCH] handle /NOIEPROXY, even if /PROXY is used git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4341 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/NSISdl/nsisdl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Contrib/NSISdl/nsisdl.cpp b/Contrib/NSISdl/nsisdl.cpp index 6bb0a67e..670010d3 100644 --- a/Contrib/NSISdl/nsisdl.cpp +++ b/Contrib/NSISdl/nsisdl.cpp @@ -282,7 +282,7 @@ __declspec(dllexport) void download (HWND parent, popstring(proxy); popstring(url); } - else if (!lstrcmpi(url, "/NOIEPROXY")) { + if (!lstrcmpi(url, "/NOIEPROXY")) { getieproxy=0; popstring(url); } @@ -348,7 +348,7 @@ __declspec(dllexport) void download (HWND parent, buf[8192-1]=0; RegCloseKey(hKey); } - if(manualproxy == 1){ + if (manualproxy == 1) { p = proxy; }