From 8ad93e6648d2c67b916ac94864ab190713731521 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 30 Jan 2022 17:23:56 +0100 Subject: Windows: Fix wrong check on IUnknown_QueryService function pointer --- src/Common/Dlgcode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Common') diff --git a/src/Common/Dlgcode.c b/src/Common/Dlgcode.c index 74722af9..7f2218e4 100644 --- a/src/Common/Dlgcode.c +++ b/src/Common/Dlgcode.c @@ -3174,7 +3174,7 @@ void InitApp (HINSTANCE hInstance, wchar_t *lpszCommandLine) IUnknown_QueryServicePtr = (IUnknown_QueryServiceFn) GetProcAddress(hShlwapiDll, "IUnknown_QueryService"); if (!IUnknown_QueryServicePtr) IUnknown_QueryServicePtr = (IUnknown_QueryServiceFn) GetProcAddress(hShlwapiDll, MAKEINTRESOURCEA(176)); - if (!SHDeleteKeyWFn || !SHStrDupWFn || !UrlUnescapeWFn || IUnknown_QueryServicePtr) + if (!SHDeleteKeyWFn || !SHStrDupWFn || !UrlUnescapeWFn || !IUnknown_QueryServicePtr) AbortProcess ("INIT_DLL"); if (IsOSAtLeast (WIN_VISTA)) -- cgit v1.2.3