summaryrefslogtreecommitdiff
path: root/plugins/AutoShutdown
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-11-28 15:35:32 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-11-28 15:35:32 +0000
commit7fb13d1cfb7528d617406bd4701cc13d7a64abd4 (patch)
treefa6d17f0df6dc2b6bfaabc1da6a34ec1faec366d /plugins/AutoShutdown
parent2de6603f69b343c3245043ab4c05292a617bd9ba (diff)
crazy flag TTBST_RELEASED removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@11131 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/AutoShutdown')
-rw-r--r--plugins/AutoShutdown/src/settingsdlg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/AutoShutdown/src/settingsdlg.cpp b/plugins/AutoShutdown/src/settingsdlg.cpp
index f18255283a..47833a6eee 100644
--- a/plugins/AutoShutdown/src/settingsdlg.cpp
+++ b/plugins/AutoShutdown/src/settingsdlg.cpp
@@ -426,7 +426,7 @@ int ToolbarLoaded(WPARAM,LPARAM)
void SetShutdownToolbarButton(bool fActive)
{
if (hToolbarButton)
- CallService(MS_TTB_SETBUTTONSTATE, (WPARAM)hToolbarButton,fActive?TTBST_PUSHED:TTBST_RELEASED);
+ CallService(MS_TTB_SETBUTTONSTATE, (WPARAM)hToolbarButton,fActive?TTBST_PUSHED:0);
}
/************************* Menu Item **********************************/