From b665a90f50f09435aef5bc3b5b9da710e4558690 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 5 Apr 2013 16:54:27 +0000 Subject: various menu items quirks, simplifications & optimization git-svn-id: http://svn.miranda-ng.org/main/trunk@4319 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TopToolBar/src/toolbar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/TopToolBar') diff --git a/plugins/TopToolBar/src/toolbar.cpp b/plugins/TopToolBar/src/toolbar.cpp index a0e5509ed8..86b4c469be 100644 --- a/plugins/TopToolBar/src/toolbar.cpp +++ b/plugins/TopToolBar/src/toolbar.cpp @@ -46,7 +46,7 @@ void InsertSBut(int i) ttb.hIconUp = (HICON)LoadImage(hInst, MAKEINTRESOURCE(IDI_RUN), IMAGE_ICON, 16, 16, LR_DEFAULTCOLOR); ttb.dwFlags = TTBBF_VISIBLE | TTBBF_ISSBUTTON | TTBBF_INTERNAL; ttb.wParamDown = i; - TTBAddButton(( WPARAM )&ttb, 0); + TTBAddButton((WPARAM)&ttb, 0); } void LoadAllSButs() @@ -83,7 +83,7 @@ void InsertLBut(int i) ttb.name = LPGEN("Default"); ttb.program = _T("Execute Path"); ttb.wParamDown = i; - TTBAddButton(( WPARAM )&ttb, 0); + TTBAddButton((WPARAM)&ttb, 0); } void LoadAllLButs() -- cgit v1.2.3