diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-28 15:20:06 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-28 15:20:06 +0000 |
commit | dcc561ccf83c7468bf512ab94db0c34bfdb49dfc (patch) | |
tree | b71f88f9be3198372f8e8cf11fa6c4093367a8dc /plugins/ExternalAPI | |
parent | 7cd632b27e8bbae2005518606666547144c100dc (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@14428 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r-- | plugins/ExternalAPI/delphi/m_toptoolbar.inc | 1 | ||||
-rw-r--r-- | plugins/ExternalAPI/m_toptoolbar.h | 7 |
2 files changed, 3 insertions, 5 deletions
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 ===
/*
|