Fix warnings relating to case mismatch in file path for windows

This commit is contained in:
scrawach 2026-02-06 01:38:46 +03:00
parent 2487a297b2
commit 576eb17e14

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;