1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 23:04:36 +01:00

Replace Equals with IEquals where appropriate

This commit is contained in:
ζeh Matt
2023-07-05 22:34:29 +03:00
parent 279a056125
commit 3d5e6ea932
27 changed files with 80 additions and 81 deletions

View File

@@ -223,7 +223,7 @@ namespace Platform
// Find a file which matches by name (case insensitive)
for (int32_t i = 0; i < count; i++)
{
if (String::Equals(files[i]->d_name, fileName.c_str(), true))
if (String::IEquals(files[i]->d_name, fileName.c_str()))
{
result = Path::Combine(directory, std::string(files[i]->d_name));
break;