Fix windows access check
This commit is contained in:
@@ -112,7 +112,7 @@ pub const File = struct {
|
||||
}
|
||||
return true;
|
||||
} else if (is_windows) {
|
||||
if (os.windows.PathFileExists(path_with_null.ptr)) {
|
||||
if (os.windows.PathFileExists(path_with_null.ptr) == os.windows.TRUE) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user