From d83456e9cc8321d4b6bc7b5ca37660078410827d Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Tue, 13 Mar 2018 09:34:15 -0400 Subject: [PATCH] - fixed: stats checker was not actually checking if it was being run in WOW64 mode --- src/d_stats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/d_stats.cpp b/src/d_stats.cpp index d2005d4cd..ebec250bb 100644 --- a/src/d_stats.cpp +++ b/src/d_stats.cpp @@ -139,7 +139,7 @@ static int GetOSVersion() if (sizeof(void*) == 4) // 32 bit { BOOL res; - if (IsWow64Process(GetCurrentProcess(), &res)) + if (IsWow64Process(GetCurrentProcess(), &res) && res) { return 6; }