From 2136706129e50380146e65b2ea01c3fc28fe146d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Severin=20Paul=20H=C3=B6fer?= <84280965+zzril@users.noreply.github.com> Date: Tue, 23 Jan 2024 21:46:31 +0100 Subject: [PATCH] Use TitleCase for members of EntranceTypeLabel --- src/openrct2-ui/windows/Ride.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openrct2-ui/windows/Ride.cpp b/src/openrct2-ui/windows/Ride.cpp index 236a7cb689..26408fe2b4 100644 --- a/src/openrct2-ui/windows/Ride.cpp +++ b/src/openrct2-ui/windows/Ride.cpp @@ -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();