summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2011-12-31 16:44:33 +0000
committerJon TURNEY <jon.turney@dronecode.org.uk>2012-01-04 17:05:14 +0000
commite818d980c0de2a39e0a8a08922b827ed7a35a5dc (patch)
tree2d8c30b0283798073824a52494be7a10ac98dfcb
parentab17434f77f1c604cf97e7cd0ce817831e478834 (diff)
Add Windows 8 to the list of Windows versions we know the name of
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
-rw-r--r--hw/xwin/winprocarg.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/hw/xwin/winprocarg.c b/hw/xwin/winprocarg.c
index cc1f1841b..20b95c364 100644
--- a/hw/xwin/winprocarg.c
+++ b/hw/xwin/winprocarg.c
@@ -1260,7 +1260,11 @@ winOS(void)
prodName = "Windows NT";
else if (osvi.dwMajorVersion == 6)
{
- if (osvi.dwMinorVersion == 1)
+ if (osvi.dwMinorVersion == 2)
+ {
+ prodName = "Windows 8";
+ }
+ else if (osvi.dwMinorVersion == 1)
{
if (osvi.wProductType == VER_NT_WORKSTATION)
prodName = "Windows 7";