mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 08:52:00 +00:00
- fix case sensitive path composition.
This commit is contained in:
parent
809d2fc555
commit
b06c84ad8c
1 changed files with 2 additions and 2 deletions
|
@ -678,9 +678,9 @@ static bool CheckAddon(GrpInfo* addon, GrpInfo* main, const char* filename)
|
|||
FString check = path + fn;
|
||||
if (FileExists(check)) continue;
|
||||
#if !defined _WIN32
|
||||
check = check.MakeLower();
|
||||
check = path + fn.MakeLower();
|
||||
if (FileExists(check)) continue;
|
||||
check = check.MakeUpper();
|
||||
check = path + fn.MakeUpper();
|
||||
if (FileExists(check)) continue;
|
||||
#endif
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue