diff options
author | Nay <dnpd.dd@gmail.com> | 2013-02-03 05:52:26 -0800 |
---|---|---|
committer | Nay <dnpd.dd@gmail.com> | 2013-02-03 05:52:26 -0800 |
commit | 7eb3c36dba4b4a25e7ef5f1e8b55fbacfa706974 (patch) | |
tree | 6108abc26f0c388b83e6e4c8d28fd725345730d3 /src | |
parent | b346459ca88a4959c579e51607ef0b5eb8d75b98 (diff) | |
parent | 6d29a62b78d347a9ccaaa39fa61d3ed9af54d2ca (diff) |
Merge pull request #9132 from Regigicas/crashlog
Update WheatyExceptionReport to printf Windows 8
Diffstat (limited to 'src')
-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); |