Convert dStrcmp to String::compare for more cases

This commit is contained in:
Lukas Aldershaab 2020-10-04 00:00:01 +02:00
parent c999baf7ed
commit 197a62f6ea
22 changed files with 45 additions and 45 deletions

View file

@ -198,7 +198,7 @@ bool FileDialog::Execute()
//The first of each pair is the name, which we'll skip because NFD doesn't support named filters atm
String filter = StringUnit::getUnit(mData.mFilters, i, "|");
if (!dStrcmp(filter.c_str(), "*.*"))
if (!String::compare(filter.c_str(), "*.*"))
continue;
U32 subFilterCount = StringUnit::getUnitCount(filter, ";");