diff options
-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;
|