1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-03 18:07:53 +01:00

Rename snake_case functions in OpenRCT2/util folder

This commit is contained in:
Hielke Morsink
2023-01-18 22:42:16 +01:00
parent f14d1e3b7e
commit 0762fcb601
75 changed files with 323 additions and 323 deletions

View File

@@ -750,7 +750,7 @@ public:
width_limit /= 2;
// Draw ride type
StringId rideTypeStringId = GetRideTypeStringId(listItem.repositoryItem);
safe_strcpy(buffer, LanguageGetString(rideTypeStringId), 256 - (buffer - bufferWithColour));
SafeStrCpy(buffer, LanguageGetString(rideTypeStringId), 256 - (buffer - bufferWithColour));
auto ft = Formatter();
ft.Add<const char*>(gCommonStringFormatBuffer);
DrawTextEllipsised(
@@ -759,7 +759,7 @@ public:
}
// Draw text
safe_strcpy(buffer, listItem.repositoryItem->Name.c_str(), 256 - (buffer - bufferWithColour));
SafeStrCpy(buffer, listItem.repositoryItem->Name.c_str(), 256 - (buffer - bufferWithColour));
if (gScreenFlags & SCREEN_FLAGS_TRACK_MANAGER)
{
while (*buffer != 0 && *buffer != 9)
@@ -801,7 +801,7 @@ public:
if (strcmp(_filter_string, c) == 0)
return;
safe_strcpy(_filter_string, c, sizeof(_filter_string));
SafeStrCpy(_filter_string, c, sizeof(_filter_string));
FilterUpdateCounts();