Add a missing brace twisting the logic of the Windows XP check

This commit is contained in:
Yamagi Burmeister 2012-06-09 11:42:35 +02:00
parent 16e57ede33
commit 6c2f97927e

View file

@ -204,9 +204,9 @@ Sys_Init(void)
limit Yamagi Quake II to Windows XP and
above. Testing older version would be a
PITA. */
if (!(vinfo.dwMajorVersion > 5) ||
if (!((vinfo.dwMajorVersion > 5) ||
((vinfo.dwMajorVersion == 5) &&
(vinfo.dwMinorVersion >= 1)))
(vinfo.dwMinorVersion >= 1))))
{
Sys_Error("Yamagi Quake II needs Windows XP or higher!\n");
}