summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-01-27 18:28:01 +0100
committerGitHub <noreply@github.com>2019-01-27 18:28:01 +0100
commit59459ed4b2e03b47e3b7a4c9da6cf42e3969d0bd (patch)
treeb6cc25ce34e4451e18ff6e769394015c5362742f /modules
parent1bed784c9a3786679bec4c7c60b260bc56c37de3 (diff)
parent57c0082533cfc7a15570cb40a92ce53c6020ca2d (diff)
Merge pull request #25370 from akien-mga/mono-lowercase-pathext
Mono: Test Windows binaries with lowercase extension
Diffstat (limited to 'modules')
-rw-r--r--modules/mono/utils/path_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/utils/path_utils.cpp b/modules/mono/utils/path_utils.cpp
index 80f2324e15..6e431f51e7 100644
--- a/modules/mono/utils/path_utils.cpp
+++ b/modules/mono/utils/path_utils.cpp
@@ -59,7 +59,7 @@ String path_which(const String &p_name) {
#ifdef WINDOWS_ENABLED
for (int j = 0; j < exts.size(); j++) {
- String p2 = p + exts[j];
+ String p2 = p + exts[j].to_lower(); // lowercase to reduce risk of case mismatch warning
if (FileAccess::exists(p2))
return p2;