summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-07-09 19:49:49 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-07-09 19:49:49 +0300
commit98bea8b5864d0087ae47a6e7146f2c8d84d99343 (patch)
tree985f6a164b2dc452371222f503a00a0e58f67a14
parent9b5f770daa11881c8d57bb2d0be22822dc3ed16d (diff)
fixes #4522 (В клисте допускается наличие лишь одной односимвольной группы)
-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 52d331fa16..da236f8481 100644
--- a/src/mir_app/src/clistgroups.cpp
+++ b/src/mir_app/src/clistgroups.cpp
@@ -35,7 +35,7 @@ static mir_cs csGroups;
/////////////////////////////////////////////////////////////////////////////////////////
static int CompareGrpByName(const CGroupInternal *p1, const CGroupInternal *p2)
-{ return mir_wstrcmp(p1->groupName+1, p2->groupName+1);
+{ return mir_wstrcmp(p1->groupName, p2->groupName);
}
static LIST<CGroupInternal> arByName(20, CompareGrpByName);