summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/globals.cpp
diff options
context:
space:
mode:
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();