From 2b982f8a1f23ae29136f62fb3819df50c281e19f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 11 Mar 2013 21:53:08 +0000 Subject: rest of minor TopToolbar_AddButton issues git-svn-id: http://svn.miranda-ng.org/main/trunk@3981 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ListeningTo/src/listeningto.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/ListeningTo/src/listeningto.cpp') diff --git a/plugins/ListeningTo/src/listeningto.cpp b/plugins/ListeningTo/src/listeningto.cpp index 1c4fbf699b..129bdce559 100644 --- a/plugins/ListeningTo/src/listeningto.cpp +++ b/plugins/ListeningTo/src/listeningto.cpp @@ -481,8 +481,7 @@ int TopToolBarLoaded(WPARAM wParam, LPARAM lParam) CreateServiceFunction(MS_LISTENINGTO_TTB, TopToolBarClick); - TTBButton ttb = {0}; - ttb.cbSize = sizeof(ttb); + TTBButton ttb = { sizeof(ttb) }; ttb.hIconHandleDn = iconList[0].hIcolib; ttb.hIconHandleUp = iconList[1].hIcolib; ttb.pszService = MS_LISTENINGTO_TTB; @@ -491,7 +490,6 @@ int TopToolBarLoaded(WPARAM wParam, LPARAM lParam) ttb.pszTooltipDn = LPGEN("Disable ListeningTo (to all protocols)"); ttb.pszTooltipUp = LPGEN("Enable ListeningTo (to all protocols)"); hTTB = TopToolbar_AddButton(&ttb); - return 0; } -- cgit v1.2.3