diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2013-12-19 15:21:26 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2013-12-19 15:21:26 +0000 |
commit | 4114d0b943d8fb53b77ae9af2c7ca67fc46301c9 (patch) | |
tree | 3f3e957bd289e36c57dbfe2b9cae757fa2aa6c06 | |
parent | 27dd07d9dcf3edd8993e8f3b007fb27d20bb0a4d (diff) |
- added special detection for Windows 8.1
git-svn-id: http://svn.miranda-ng.org/main/trunk@7287 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | plugins/CrashDumper/src/utils.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/plugins/CrashDumper/src/utils.cpp b/plugins/CrashDumper/src/utils.cpp index 2542c3d30d..49a2642e75 100644 --- a/plugins/CrashDumper/src/utils.cpp +++ b/plugins/CrashDumper/src/utils.cpp @@ -74,13 +74,20 @@ void GetOSDisplayString(CMString& buffer) else
buffer.Append(TEXT("Windows Server 2008 R2 "));
break;
-
- default:
+
+ case 2:
if (osvi.wProductType == VER_NT_WORKSTATION)
buffer.Append(TEXT("Windows 8 "));
else
buffer.Append(TEXT("Windows Server 2012 "));
break;
+
+ default:
+ if (osvi.wProductType == VER_NT_WORKSTATION)
+ buffer.Append(TEXT("Windows 8.1 "));
+ else
+ buffer.Append(TEXT("Windows Server 2012 R2 "));
+ break;
}
if (pGetProductInfo)
|