summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-08-23 17:21:47 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-08-23 17:21:47 +0300
commit85f0768f6a5f8922656517272d09d7826d8dac99 (patch)
treef281dc4b9f5ff7bd1f793130448f2560f14d1811 /src/mir_app
parent6a467d375c8c8313d2502c31e693c6a0ff094915 (diff)
group renaming to pass valid group name to a hook
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/clistgroups.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/clistgroups.cpp b/src/mir_app/src/clistgroups.cpp
index e3d7163257..e4773ebca7 100644
--- a/src/mir_app/src/clistgroups.cpp
+++ b/src/mir_app/src/clistgroups.cpp
@@ -135,7 +135,7 @@ static INT_PTR CreateGroupInternal(MGROUP hParent, const wchar_t *ptszName)
Clist_GroupAdded(newId + 1);
- CLISTGROUPCHANGE grpChg = { nullptr, newName };
+ CLISTGROUPCHANGE grpChg = { nullptr, newName+1 };
NotifyEventHooks(hGroupChangeEvent, 0, (LPARAM)&grpChg);
return newId + 1;