summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/mim.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-30 14:53:06 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-30 14:53:06 +0000
commitf8c24169ee95e5a0a7290e5a1935855c099ce847 (patch)
tree0db74eedd7aed702b32c3c601944cebfd7759739 /plugins/TabSRMM/src/mim.cpp
parent29d1f717da04b24780569ca58d0eb3315606036a (diff)
another crutch
git-svn-id: http://svn.miranda-ng.org/main/trunk@11682 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/mim.cpp')
-rw-r--r--plugins/TabSRMM/src/mim.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/mim.cpp b/plugins/TabSRMM/src/mim.cpp
index 9834df89ae..be236744f4 100644
--- a/plugins/TabSRMM/src/mim.cpp
+++ b/plugins/TabSRMM/src/mim.cpp
@@ -186,6 +186,9 @@ bool CMimAPI::getAeroState()
void CMimAPI::InitAPI()
{
+ DWORD dwVer = LOWORD(GetVersion());
+ m_winVer = MAKEWORD(HIBYTE(dwVer), LOBYTE(dwVer));
+
m_hUxTheme = 0;
// vista+ DWM API