From 8e52da65d2cfa36bf23fa7be0577e420f3cf0480 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 7 Dec 2018 20:29:02 +0300 Subject: fixes #1653 (recursive removal of embedded groups) --- include/delphi/m_clist.inc | 1 - include/m_clist.h | 10 +++++----- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/delphi/m_clist.inc b/include/delphi/m_clist.inc index 5a3f10c88a..9839f5569a 100644 --- a/include/delphi/m_clist.inc +++ b/include/delphi/m_clist.inc @@ -159,7 +159,6 @@ const } type CLISTGROUPCHANGE = record - cbSize :int; //size in bytes of this structure pszOldName:TChar; //old group name pszNewName:TChar; //new group name end; diff --git a/include/m_clist.h b/include/m_clist.h index ee96559b84..c94892139a 100644 --- a/include/m_clist.h +++ b/include/m_clist.h @@ -371,11 +371,11 @@ EXTERN_C MIR_APP_DLL(BOOL) Clist_IsDocked(void); // wParam = hContact - NULL if operation on group // lParam = pointer to CLISTGROUPCHANGE -typedef struct { - int cbSize; // size in bytes of this structure - wchar_t *pszOldName; // old group name, NULL if a new group was created - wchar_t *pszNewName; // new group name, NULL if an old group was deleted -} CLISTGROUPCHANGE; +struct CLISTGROUPCHANGE +{ + const wchar_t *pszOldName; // old group name, NULL if a new group was created + const wchar_t *pszNewName; // new group name, NULL if an old group was deleted +}; #define ME_CLIST_GROUPCHANGE "CList/GroupChange" -- cgit v1.2.3