summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/generic_msghandlers.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-07-31 19:01:27 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-07-31 19:01:27 +0000
commit3e5959daa64de93186b2dceaeaf0a85c0535a5c6 (patch)
tree63b8714af89ef32951af2411e33b2b49520fdbbf /plugins/TabSRMM/src/generic_msghandlers.cpp
parent4b25736d4b3565e4e9945d191d15e0740dce6afc (diff)
fix for correct info panel closing
git-svn-id: http://svn.miranda-ng.org/main/trunk@10007 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/generic_msghandlers.cpp')
-rw-r--r--plugins/TabSRMM/src/generic_msghandlers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/generic_msghandlers.cpp b/plugins/TabSRMM/src/generic_msghandlers.cpp
index b7c5283134..294cd923ce 100644
--- a/plugins/TabSRMM/src/generic_msghandlers.cpp
+++ b/plugins/TabSRMM/src/generic_msghandlers.cpp
@@ -168,7 +168,7 @@ LRESULT TSAPI DM_GenericHotkeysCheck(MSG *message, TWindowData *dat)
}
break;
case TABSRMM_HK_TOGGLEINFOPANEL:
- dat->Panel->setActive(dat->Panel->isActive() ? FALSE : TRUE);
+ dat->Panel->setActive(!dat->Panel->isActive());
dat->Panel->showHide();
return 1;
case TABSRMM_HK_EMOTICONS: