Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenlib/intern/storage_apple.mm')
-rw-r--r--source/blender/blenlib/intern/storage_apple.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/storage_apple.mm b/source/blender/blenlib/intern/storage_apple.mm
index 7cb8ca28e24..0cc246b8d4f 100644
--- a/source/blender/blenlib/intern/storage_apple.mm
+++ b/source/blender/blenlib/intern/storage_apple.mm
@@ -87,7 +87,7 @@ eFileAttributes BLI_file_attributes(const char *path)
if (is_readable && !is_writable) {
ret |= FILE_ATTR_READONLY;
}
- if (is_readable) {
+ if (!is_readable) {
ret |= FILE_ATTR_SYSTEM;
}
}