1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 17:54:50 +01:00

Rename String methods to use lowerCamelCase

This commit is contained in:
Aaron van Geffen
2024-12-11 22:28:31 +01:00
parent a24dc2e60a
commit 35e117aca2
102 changed files with 587 additions and 589 deletions

View File

@@ -77,8 +77,8 @@ namespace OpenRCT2
}
#ifdef _WIN32
auto pathW = String::ToWideChar(path);
auto modeW = String::ToWideChar(mode);
auto pathW = String::toWideChar(path);
auto modeW = String::toWideChar(mode);
_file = _wfopen(pathW.c_str(), modeW.c_str());
#else
if (fileMode == FILE_MODE_OPEN)
@@ -97,7 +97,7 @@ namespace OpenRCT2
#endif
if (_file == nullptr)
{
throw IOException(String::StdFormat("Unable to open '%s'", path));
throw IOException(String::stdFormat("Unable to open '%s'", path));
}
#ifdef _WIN32