Replace Equals with IEquals where appropriate

This commit is contained in:
ζeh Matt committed 2023-07-05 23:14:05 +03:00
1 parent 279a056125
commit 3d5e6ea932
27 files changed
+80 -81

No files matched your search

+1 -1
View File
@@ -416,7 +416,7 @@ std::string ImageTable::FindLegacyObject(const std::string& name)
while (scanner->Next())
{
auto currentName = Path::GetFileName(scanner->GetPathRelative());
if (String::Equals(currentName, name, true) || String::Equals(currentName, altName, true))
if (String::IEquals(currentName, name) || String::IEquals(currentName, altName))
{
objectPath = scanner->GetPath();
break;