summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-07-10 20:01:46 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-07-10 20:01:46 +0300
commit6b813eaa41525483a811e416e92991040d2e1766 (patch)
tree4c137de616882dbb6a4868ac2a374bd1ab864261
parent8b086f087b4806d959e5769e63da9134c42edb20 (diff)
fixes #4513 completely
-rw-r--r--src/mir_app/src/clistgroups.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir_app/src/clistgroups.cpp b/src/mir_app/src/clistgroups.cpp
index 2a1db3b118..185f4ce2da 100644
--- a/src/mir_app/src/clistgroups.cpp
+++ b/src/mir_app/src/clistgroups.cpp
@@ -298,6 +298,7 @@ MIR_APP_DLL(int) Clist_GroupMoveBefore(MGROUP hGroup, MGROUP hGroupBefore)
return 0;
if (hGroup < hGroupBefore) {
+ hGroupBefore--;
shuffleFrom = hGroup;
shuffleTo = hGroupBefore;
shuffleStep = 1;