[PATCH] inetcpl: Fix incorrect expression (Coverity).
Nikolay Sivov
nsivov at codeweavers.com
Wed Sep 15 05:25:06 CDT 2021
This is a regression from a65616cf1fcf404090199b82e6d01e0f08e0d4ea,
search-replace gone wrong because global literal constant had the same
name as the helper argument.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/inetcpl.cpl/connections.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/inetcpl.cpl/connections.c b/dlls/inetcpl.cpl/connections.c
index 4327c33b420..d33c0bf3a19 100644
--- a/dlls/inetcpl.cpl/connections.c
+++ b/dlls/inetcpl.cpl/connections.c
@@ -62,7 +62,7 @@ static DWORD create_connection_settings(BOOL manual_proxy, const WCHAR *proxy_se
DWORD pac_url_len;
size += sizeof(DWORD);
- if(L"ProxyServer")
+ if(proxy_server)
{
proxy_server_len = WideCharToMultiByte(CP_UTF8, 0, proxy_server, -1,
NULL, 0, NULL, NULL);
--
2.33.0
More information about the wine-devel
mailing list