- fix case sensitive path composition.

This commit is contained in:
Christoph Oelckers 2020-03-01 10:17:26 +01:00
parent 809d2fc555
commit b06c84ad8c

View file

@ -678,9 +678,9 @@ static bool CheckAddon(GrpInfo* addon, GrpInfo* main, const char* filename)
FString check = path + fn; FString check = path + fn;
if (FileExists(check)) continue; if (FileExists(check)) continue;
#if !defined _WIN32 #if !defined _WIN32
check = check.MakeLower(); check = path + fn.MakeLower();
if (FileExists(check)) continue; if (FileExists(check)) continue;
check = check.MakeUpper(); check = path + fn.MakeUpper();
if (FileExists(check)) continue; if (FileExists(check)) continue;
#endif #endif
return false; return false;