Fix windows access check

This commit is contained in:
Marc Tiehuis 2018-04-13 22:50:57 +12:00
parent 03bec631bd
commit fe9489ad63

View File

@ -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;
}