summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/globals.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-09-28 11:21:32 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-09-28 11:21:32 +0000
commit30bd869d78ea7d67904e6fa46c205e3a8697c6fc (patch)
tree361f46f51f495f4b27a1122f1018bb0ff2e8f2f5 /plugins/TabSRMM/src/globals.cpp
parentd4c7112ac94d71397957c2bab796167cc91532fd (diff)
fix for keyboard idle state interruption
git-svn-id: http://svn.miranda-ng.org/main/trunk@6256 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/globals.cpp')
-rw-r--r--plugins/TabSRMM/src/globals.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/globals.cpp b/plugins/TabSRMM/src/globals.cpp
index 8def3fb880..0ff7df9324 100644
--- a/plugins/TabSRMM/src/globals.cpp
+++ b/plugins/TabSRMM/src/globals.cpp
@@ -73,8 +73,8 @@ void CGlobals::reloadSystemStartup()
m_WinVerMajor = WinVerMajor();
m_WinVerMinor = WinVerMinor();
- m_bIsVista = IsWinVerVistaPlus();
- m_bIsWin7 = IsWinVer7Plus();
+ m_bIsVista = IsWinVerVistaPlus() != 0;
+ m_bIsWin7 = IsWinVer7Plus() != 0;
::RegisterTabCtrlClass();
CTip::registerClass();