summaryrefslogtreecommitdiff
path: root/plugins/CrashDumper
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CrashDumper')
-rw-r--r--plugins/CrashDumper/src/utils.cpp11
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)