diff --git a/src/apps/deskbar/ExpandoMenuBar.cpp b/src/apps/deskbar/ExpandoMenuBar.cpp index 3e03debf55..66df4e6567 100644 --- a/src/apps/deskbar/ExpandoMenuBar.cpp +++ b/src/apps/deskbar/ExpandoMenuBar.cpp @@ -647,7 +647,8 @@ TExpandoMenuBar::AddTeam(BList* team, BBitmap* icon, char* name, int32 itemCount = CountItems(); while (i < itemCount) { teamItem = dynamic_cast(ItemAt(i)); - if (teamItem != NULL && strcasecmp(teamItem->Label(), name) > 0) { + if (teamItem != NULL && gCollator.Compare(teamItem->Label(), name) + > 0) { AddItem(item, i); break; }