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

@ -101,7 +101,7 @@ static bool deleteDirectoryRecusrive(const char* pPath)
StringTableEntry basePath = *basePathItr;
// Skip if the base path.
if (basePathItr == directories.begin() && dStrcmp(pPath, basePath) == 0)
if (basePathItr == directories.begin() && String::compare(pPath, basePath) == 0)
continue;
// Delete any directories recursively.
@ -624,4 +624,4 @@ DefineEngineFunction( getUserHomeDirectory, const char *, (), , "getUserHomeDire
DefineEngineFunction(setMainDotCsDir, void, (const char* path), , "setMainDotCsDir()")
{
Platform::setMainDotCsDir(StringTable->insert(path));
}
}