1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 03:23:15 +01:00

Use TitleCase for members of EntranceTypeLabel

This commit is contained in:
Severin Paul Höfer
2024-01-23 21:46:31 +01:00
parent 794ee9be78
commit 2136706129

View File

@@ -624,7 +624,7 @@ struct EntranceTypeLabel
{
ObjectEntryIndex EntranceTypeId;
StringId LabelId;
const char* label_string;
const char* LabelString;
};
class RideWindow final : public Window
@@ -2020,7 +2020,7 @@ private:
}
std::sort(_entranceDropdownData.begin(), _entranceDropdownData.end(), [](auto& a, auto& b) {
return String::Compare(a.label_string, b.label_string, true) < 0;
return String::Compare(a.LabelString, b.LabelString, true) < 0;
});
_entranceDropdownDataLanguage = ls.GetCurrentLanguage();