From 30bd869d78ea7d67904e6fa46c205e3a8697c6fc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 28 Sep 2013 11:21:32 +0000 Subject: fix for keyboard idle state interruption git-svn-id: http://svn.miranda-ng.org/main/trunk@6256 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/globals.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/TabSRMM/src/globals.cpp') 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(); -- cgit v1.2.3