From 4114d0b943d8fb53b77ae9af2c7ca67fc46301c9 Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Thu, 19 Dec 2013 15:21:26 +0000 Subject: - added special detection for Windows 8.1 git-svn-id: http://svn.miranda-ng.org/main/trunk@7287 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/CrashDumper/src/utils.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'plugins/CrashDumper') 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) -- cgit v1.2.3