VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2022-01-30 17:23:56 +0100
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2022-01-30 17:25:09 +0100
commit8ad93e6648d2c67b916ac94864ab190713731521 (patch)
tree41f47cc206cacc868f1a17ed16798625492fef2b
parent87efa35c38cf07d174de23c177ee776ee1e10cec (diff)
downloadVeraCrypt-8ad93e6648d2c67b916ac94864ab190713731521.tar.gz
VeraCrypt-8ad93e6648d2c67b916ac94864ab190713731521.zip
Windows: Fix wrong check on IUnknown_QueryService function pointer
-rw-r--r--src/Common/Dlgcode.c2
1 files changed, 1 insertions, 1 deletions
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))