From dcc561ccf83c7468bf512ab94db0c34bfdb49dfc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 28 Jun 2015 15:20:06 +0000 Subject: code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14428 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ExternalAPI/delphi/m_toptoolbar.inc | 1 - plugins/ExternalAPI/m_toptoolbar.h | 7 +++---- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'plugins/ExternalAPI') diff --git a/plugins/ExternalAPI/delphi/m_toptoolbar.inc b/plugins/ExternalAPI/delphi/m_toptoolbar.inc index 5dfbee3b53..2815b6e105 100644 --- a/plugins/ExternalAPI/delphi/m_toptoolbar.inc +++ b/plugins/ExternalAPI/delphi/m_toptoolbar.inc @@ -18,7 +18,6 @@ const type PTTBButton = ^TTBButton; TTBButton = record - cbSize :int; pszService :PAnsiChar; // or program for lButtons dwFlags :dword; lParamUp :LPARAM; diff --git a/plugins/ExternalAPI/m_toptoolbar.h b/plugins/ExternalAPI/m_toptoolbar.h index 1d3766290e..cd98be6dee 100644 --- a/plugins/ExternalAPI/m_toptoolbar.h +++ b/plugins/ExternalAPI/m_toptoolbar.h @@ -13,8 +13,8 @@ #define TTBBF_ISSBUTTON 0x0100 #define TTBBF_ASPUSHBUTTON 0x0200 -typedef struct { - int cbSize; +struct TTBButton +{ union { char *pszService; TCHAR *program; @@ -36,8 +36,7 @@ typedef struct { char *pszTooltipUp; char *pszTooltipDn; -} - TTBButton, * lpTTBButton; +}; //=== EVENTS === /* -- cgit v1.2.3