- fixed: stats checker was not actually checking if it was being run in WOW64 mode

This commit is contained in:
Rachael Alexanderson 2018-03-13 09:34:15 -04:00
parent 251f0c8459
commit d83456e9cc

View file

@ -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;
}