summaryrefslogtreecommitdiff
path: root/include/m_clist.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-06-22 13:35:02 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-06-22 13:35:02 +0000
commitb3506557a58f53ed0fc3a96c4ec4a3b8098a542d (patch)
tree520a1cb861afa7600c0553ce8b2558f725a70ed1 /include/m_clist.h
parent4625aafb053a002f0223bfbe76abfbec629feacf (diff)
- CLISTMENUITEM::cbSize - atavism removed;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@14325 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_clist.h')
-rw-r--r--include/m_clist.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/m_clist.h b/include/m_clist.h
index 86c98c8326..a6c7f06483 100644
--- a/include/m_clist.h
+++ b/include/m_clist.h
@@ -36,7 +36,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
extern int hLangpack;
#if defined MIR_APP_EXPORTS
- typedef struct _tagIntMenuItem* HGENMENU;
+ typedef struct TMO_IntMenuItem* HGENMENU;
#else
DECLARE_HANDLE(HGENMENU);
#endif
@@ -86,8 +86,9 @@ extern int hLangpack;
// WARNING: do not use Translate(TS) for p(t)szName or p(t)szPopupName as they
// are translated by the core, which may lead to double translation.
// Use LPGEN instead which are just dummy wrappers/markers for "lpgen.pl".
-typedef struct {
- int cbSize; //size in bytes of this structure
+
+struct CLISTMENUITEM
+{
union {
char* pszName; //[TRANSLATED-BY-CORE] text of the menu item
TCHAR* ptszName; //Unicode text of the menu item
@@ -115,8 +116,7 @@ typedef struct {
//applies to all contacts. If it applies to multiple but not all
//protocols, add multiple menu items or use ME_CLIST_PREBUILDCONTACTMENU
int hLangpack; //plugin's hLangpack (added automatically)
-}
- CLISTMENUITEM;
+};
#define HGENMENU_ROOT ((HGENMENU)-1)