summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-12-07 20:29:02 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-12-07 20:29:02 +0300
commit8e52da65d2cfa36bf23fa7be0577e420f3cf0480 (patch)
treee6af6fbb59a385187294fd045b74486616d27361 /include
parent3f09ad4929d58a73005361cb8bb5b8aa0b41f605 (diff)
fixes #1653 (recursive removal of embedded groups)
Diffstat (limited to 'include')
-rw-r--r--include/delphi/m_clist.inc1
-rw-r--r--include/m_clist.h10
2 files changed, 5 insertions, 6 deletions
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"