summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);