Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
90b6062e
Commit
90b6062e
authored
Nov 10, 2019
by
PouleyKetchoupp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle missing file properly when checking for case mismatch
This was causing false alarms to be randomly reported on Windows for files that didn't exist.
parent
94f00eb6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
file_access_windows.cpp
drivers/windows/file_access_windows.cpp
+1
-1
No files found.
drivers/windows/file_access_windows.cpp
View file @
90b6062e
...
...
@@ -96,7 +96,7 @@ Error FileAccessWindows::_open(const String &p_path, int p_mode_flags) {
if
(
p_mode_flags
==
READ
)
{
WIN32_FIND_DATAW
d
;
HANDLE
f
=
FindFirstFileW
(
path
.
c_str
(),
&
d
);
if
(
f
)
{
if
(
f
!=
INVALID_HANDLE_VALUE
)
{
String
fname
=
d
.
cFileName
;
if
(
fname
!=
String
())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment