diff options
author | Regigicas <regigicas@hotmail.es> | 2013-02-03 14:08:29 +0100 |
---|---|---|
committer | Regigicas <regigicas@hotmail.es> | 2013-02-03 14:08:29 +0100 |
commit | 6d29a62b78d347a9ccaaa39fa61d3ed9af54d2ca (patch) | |
tree | 96271ded7bbae6bccd8b17d209139433d4d53cc4 | |
parent | 54924f18af20434174a2610a19f0b1946a5b0ac1 (diff) |
Update WheatyExceptionReport to print Windows 8
-rw-r--r-- | src/server/shared/Debugging/WheatyExceptionReport.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server/shared/Debugging/WheatyExceptionReport.cpp b/src/server/shared/Debugging/WheatyExceptionReport.cpp index 96a115f8057..2f30ddfcd70 100644 --- a/src/server/shared/Debugging/WheatyExceptionReport.cpp +++ b/src/server/shared/Debugging/WheatyExceptionReport.cpp @@ -202,7 +202,9 @@ BOOL WheatyExceptionReport::_GetWindowsVersion(TCHAR* szVersion, DWORD cntMax) if (osvi.wProductType == VER_NT_WORKSTATION) #endif // WINVER < 0x0500 { - if (osvi.dwMinorVersion == 1) + if (osvi.dwMinorVersion == 2) + _tcsncat(szVersion, _T("Windows 8 "), cntMax); + else if (osvi.dwMinorVersion == 1) _tcsncat(szVersion, _T("Windows 7 "), cntMax); else _tcsncat(szVersion, _T("Windows Vista "), cntMax); |