diff options
author | Ankit <ankitm> | 2020-03-27 20:56:01 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-03-27 20:56:58 +0300 |
commit | 0c0170f77a66eb07b2a59ea0303216df01bb09ac (patch) | |
tree | 6bdb36960a73ac249c1a5d23f19fc8b5f2fcdb15 /source/blender/blenlib/intern | |
parent | 9120191fe2a28a3d01a51f536df7b433a7764803 (diff) |
Fix error in macOS system file detection in recent changes
Differential Revision: https://developer.blender.org/D7250
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/storage_apple.mm | 2 |
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; } } |