From 85f0768f6a5f8922656517272d09d7826d8dac99 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 23 Aug 2019 17:21:47 +0300 Subject: group renaming to pass valid group name to a hook --- src/mir_app/src/clistgroups.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mir_app') 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; -- cgit v1.2.3