diff options
author | Julian Eisel <julian@blender.org> | 2021-08-03 20:37:34 +0300 |
---|---|---|
committer | Julian Eisel <julian@blender.org> | 2021-08-03 20:37:34 +0300 |
commit | 41357d556f4e3b286ab4ecfaeb990cc40bf08333 (patch) | |
tree | 0ba0b65aefedc9313e107872045460678e3e3844 /source/blender/blenlib/intern/storage.c | |
parent | 39e914cee7573fea073b19e039cfa04779b35c72 (diff) |
Fix broken logic in Windows directory query function
Mistake in a5bbdd6998ab
Diffstat (limited to 'source/blender/blenlib/intern/storage.c')
-rw-r--r-- | source/blender/blenlib/intern/storage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c index 19b925535e2..47bb2f0e8dd 100644 --- a/source/blender/blenlib/intern/storage.c +++ b/source/blender/blenlib/intern/storage.c @@ -114,7 +114,7 @@ double BLI_dir_free_space(const char *dir) tmp[0] = '\\'; tmp[1] = 0; /* Just a fail-safe. */ - if (ELEM(dir[0] == '/', '\\')) { + if (ELEM(dir[0], '/', '\\')) { tmp[0] = '\\'; tmp[1] = 0; } |