Merge pull request #1 from stepmania/master

Make the log mention Windows 8 instead of "unknown NT-based"
This commit is contained in:
psmay
2014-10-07 08:52:33 -04:00
+13
View File
@@ -240,6 +240,7 @@ static void GetWindowsVersionDebugInfo()
*/ */
} }
else if(ovi.dwMajorVersion == 6 && ovi.dwMinorVersion == 1) else if(ovi.dwMajorVersion == 6 && ovi.dwMinorVersion == 1)
{
Ver += "Win7"; Ver += "Win7";
// todo: make this check work // todo: make this check work
/* /*
@@ -248,6 +249,18 @@ static void GetWindowsVersionDebugInfo()
else else
Ver += "WinServer2008 R2"; Ver += "WinServer2008 R2";
*/ */
}
else if(ovi.dwMajorVersion == 6 && ovi.dwMinorVersion == 2)
{
Ver += "Win8";
// todo: make this check work
/*
if(ovi.wProductType == VER_NT_WORKSTATION)
Ver += "Win7";
else
Ver += "WinServer2008 R2";
*/
}
else else
Ver += "unknown NT-based"; Ver += "unknown NT-based";
} else Ver += "???"; } else Ver += "???";