Merge pull request #115927 from Scrawach/fix-case-insensitive-warning-for-windows

Fix warnings relating to case mismatch in file path for windows
This commit is contained in:
Thaddeus Crews 2026-02-06 08:17:53 -06:00
commit f6b89548a4
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

@ -141,7 +141,7 @@ Error FileAccessWindows::open_internal(const String &p_path, int p_mode_flags) {
// platforms), we only check for relative paths, or paths in res:// or user://,
// other paths aren't likely to be portable anyway.
if (p_mode_flags == READ && (p_path.is_relative_path() || get_access_type() != ACCESS_FILESYSTEM)) {
String base_path = p_path;
String base_path = FileAccess::fix_path(p_path);
String working_path;
String proper_path;