summaryrefslogtreecommitdiff
path: root/protocols/YAMN/yamn.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-08 20:51:14 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-08 20:51:14 +0000
commit696f4ea57845f48d6d979ecd9d66bb22bd9f738d (patch)
treec32ac05d363bff47320c1b204561b966aa1c81fd /protocols/YAMN/yamn.cpp
parent3b396a2da6b0b8e0f4d2c051aca133772d317820 (diff)
TopToolbar usage fixed everywhere
git-svn-id: http://svn.miranda-ng.org/main/trunk@861 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/YAMN/yamn.cpp')
-rw-r--r--protocols/YAMN/yamn.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/protocols/YAMN/yamn.cpp b/protocols/YAMN/yamn.cpp
index c1ffda847a..c93225e609 100644
--- a/protocols/YAMN/yamn.cpp
+++ b/protocols/YAMN/yamn.cpp
@@ -328,7 +328,6 @@ INT_PTR ForceCheckSvc(WPARAM, LPARAM)
LeaveCriticalSection(&PluginRegCS);
CloseHandle(ThreadRunningEV);
- if ( hTTButton ) CallService(MS_TTB_SETBUTTONSTATE, (WPARAM)hTTButton, TTBST_RELEASED);
- if ( hTButton ) CallService(MS_TB_SETBUTTONSTATE, (WPARAM)hTButton, TBST_RELEASED);
+ if (hTTButton) CallService(MS_TTB_SETBUTTONSTATE, (WPARAM)hTTButton, TTBST_RELEASED);
return 1;
}