diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-12-11 23:56:43 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-12-11 23:56:43 +0000 |
commit | eb8546ca0013f26ed4330b35bfb7bcde0a1d9527 (patch) | |
tree | 8aad92c3e7eb3f41358f3c2fdb6b35de4d6ff47a | |
parent | f0023ffe6ca77ccca6f8546f3f0b1816d7edb551 (diff) |
Jabber: support to identify Windows 8.1
git-svn-id: http://svn.miranda-ng.org/main/trunk@7133 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | protocols/JabberG/src/jabber_iq_handlers.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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;
|