summaryrefslogtreecommitdiff
path: root/plugins/ListeningTo
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-18 14:40:59 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-18 14:40:59 +0000
commitbeed04fd78481c085df5f0342ce546b3fdd2e544 (patch)
tree90575f2478068a5f317728fbc2f1a82884d38356 /plugins/ListeningTo
parent98ecab59cd29c9b45026d61aa98dcfb87ef5bd2d (diff)
yet another TTB-dependent changes
git-svn-id: http://svn.miranda-ng.org/main/trunk@473 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ListeningTo')
-rw-r--r--plugins/ListeningTo/listeningto.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/ListeningTo/listeningto.cpp b/plugins/ListeningTo/listeningto.cpp
index 0dfb23d68b..68df0a7218 100644
--- a/plugins/ListeningTo/listeningto.cpp
+++ b/plugins/ListeningTo/listeningto.cpp
@@ -541,7 +541,7 @@ int PreShutdown(WPARAM wParam, LPARAM lParam)
DestroyHookableEvent(hEnableStateChangedEvent);
DestroyHookableEvent(hListeningInfoChangedEvent);
- int i;
+ size_t i;
for(i = 0; i < hHooks.size(); i++)
UnhookEvent(hHooks[i]);
@@ -570,8 +570,7 @@ int TopToolBarLoaded(WPARAM wParam, LPARAM lParam)
ttb.cbSize = sizeof(ttb);
ttb.hIconHandleDn = hIcon2;
ttb.hIconHandleUp = hIcon1;
- ttb.pszServiceUp = MS_LISTENINGTO_TTB;
- ttb.pszServiceDown = MS_LISTENINGTO_TTB;
+ ttb.pszService = MS_LISTENINGTO_TTB;
ttb.dwFlags = TTBBF_VISIBLE | TTBBF_ICONBYHANDLE | TTBBF_SHOWTOOLTIP | (enabled ? TTBBF_PUSHED : 0);
ttb.name = Translate("Enable/Disable sending Listening To info (to all protocols)");