From eb8546ca0013f26ed4330b35bfb7bcde0a1d9527 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Wed, 11 Dec 2013 23:56:43 +0000 Subject: Jabber: support to identify Windows 8.1 git-svn-id: http://svn.miranda-ng.org/main/trunk@7133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_iq_handlers.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'protocols/JabberG/src/jabber_iq_handlers.cpp') diff --git a/protocols/JabberG/src/jabber_iq_handlers.cpp b/protocols/JabberG/src/jabber_iq_handlers.cpp index 06be6afd9c..04b79fcbb9 100644 --- a/protocols/JabberG/src/jabber_iq_handlers.cpp +++ b/protocols/JabberG/src/jabber_iq_handlers.cpp @@ -160,6 +160,13 @@ BOOL GetOSDisplayString(LPTSTR pszOS, int BUFSIZE) else StringCchCat(pszOS, BUFSIZE, TEXT("Windows Server 2012 ")); break; + + case 3: + if (osvi.wProductType == VER_NT_WORKSTATION) + StringCchCat(pszOS, BUFSIZE, TEXT("Windows 8.1 ")); + else + StringCchCat(pszOS, BUFSIZE, TEXT("Windows Server 2012 R2 ")); + break; } DWORD dwType = 0; -- cgit v1.2.3