Make the log mention Windows 8 instead of "unknown NT-based"
(fwiw, I don't like windows 8. also can someone tell me what version number windows 10 will be using?)
This commit is contained in:
@@ -240,6 +240,7 @@ static void GetWindowsVersionDebugInfo()
|
||||
*/
|
||||
}
|
||||
else if(ovi.dwMajorVersion == 6 && ovi.dwMinorVersion == 1)
|
||||
{
|
||||
Ver += "Win7";
|
||||
// todo: make this check work
|
||||
/*
|
||||
@@ -248,6 +249,18 @@ static void GetWindowsVersionDebugInfo()
|
||||
else
|
||||
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
|
||||
Ver += "unknown NT-based";
|
||||
} else Ver += "???";
|
||||
|
||||
Reference in New Issue
Block a user