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
path: root/source
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2021-08-03 20:37:34 +0300
committerJulian Eisel <julian@blender.org>2021-08-03 20:37:34 +0300
commit41357d556f4e3b286ab4ecfaeb990cc40bf08333 (patch)
tree0ba0b65aefedc9313e107872045460678e3e3844 /source
parent39e914cee7573fea073b19e039cfa04779b35c72 (diff)
Fix broken logic in Windows directory query function
Mistake in a5bbdd6998ab
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenlib/intern/storage.c2
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;
}