From b0d98371b916a64b6c1c0213c1f0e63058b85e4a Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Fri, 20 Sep 2013 14:37:30 +0200 Subject: Update feedback plugin to recognize Windows 8.1 / Windows Server 2012 R2. --- plugin/feedback/utils.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'plugin') diff --git a/plugin/feedback/utils.cc b/plugin/feedback/utils.cc index a841ac244d1..f6fcb3d2082 100644 --- a/plugin/feedback/utils.cc +++ b/plugin/feedback/utils.cc @@ -44,12 +44,16 @@ static const char *get_os_version_name(OSVERSIONINFOEX *ver) DWORD major = ver->dwMajorVersion; DWORD minor = ver->dwMinorVersion; + if (major == 6 && minor == 3) + { + return (ver->wProductType == VER_NT_WORKSTATION)? + "Windows 8.1":"Windows Server 2012 R2"; + } if (major == 6 && minor == 2) { return (ver->wProductType == VER_NT_WORKSTATION)? "Windows 8":"Windows Server 2012"; } - if (major == 6 && minor == 1) { return (ver->wProductType == VER_NT_WORKSTATION)? -- cgit v1.2.1