GUI: In grid launcher group by title to match what is displayed

This commit is contained in:
Le Philousophe 2022-10-01 18:27:45 +02:00
parent 1041c69710
commit 1af0e814e1

View File

@ -1336,7 +1336,7 @@ void LauncherGrid::groupEntries(const Common::Array<LauncherEntry> &metadata) {
switch (_groupBy) {
case kGroupByFirstLetter: {
for (Common::Array<LauncherEntry>::const_iterator iter = metadata.begin(); iter != metadata.end(); ++iter) {
attrs.push_back(iter->description.substr(0, 1));
attrs.push_back(iter->title.substr(0, 1));
}
_grid->setGroupHeaderFormat(Common::U32String(""), Common::U32String("..."));
break;