From b06c84ad8cb77dde8a044d044371ec38f6bb68f0 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 1 Mar 2020 10:17:26 +0100 Subject: [PATCH] - fix case sensitive path composition. --- source/common/searchpaths.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/common/searchpaths.cpp b/source/common/searchpaths.cpp index 4b2a53cd4..7afb7ed0b 100644 --- a/source/common/searchpaths.cpp +++ b/source/common/searchpaths.cpp @@ -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;