diff options
author | Julian Eisel <julian@blender.org> | 2021-08-03 20:37:34 +0300 |
---|---|---|
committer | Jeroen Bakker <jeroen@blender.org> | 2021-08-09 09:02:01 +0300 |
commit | a1b687c7a4aa79219a1907d89267bd4093fb953e (patch) | |
tree | 69804e6f99d1a37201351e3a76362c1e0bc546ba /source | |
parent | f6665f506b0a7cb5251501eca37a8e2e9d7bafc1 (diff) |
Fix broken logic in Windows directory query function
Mistake in a5bbdd6998ab
Diffstat (limited to 'source')
-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 cb2634e6fda..fb1152ddabd 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; } |