diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-05-08 02:42:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-05-08 02:44:11 +0300 |
commit | 1cfc48192c8555642f9fa6c03d96f558b46a0430 (patch) | |
tree | 8906c42b037fa3dc384e259abeafbd03ace978b4 /source/blender/blenkernel | |
parent | 415ff7467ca937bca7d658e80d927388f5d1f0b1 (diff) |
Fix T51432: Find Files case sensitive on win32
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/bpath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/bpath.c b/source/blender/blenkernel/intern/bpath.c index 487b8ffa2b5..f210c6aa7f3 100644 --- a/source/blender/blenkernel/intern/bpath.c +++ b/source/blender/blenkernel/intern/bpath.c @@ -243,7 +243,7 @@ static bool missing_files_find__recursive( continue; /* cant stat, don't bother with this file, could print debug info here */ if (S_ISREG(status.st_mode)) { /* is file */ - if (STREQLEN(filename, de->d_name, FILE_MAX)) { /* name matches */ + if (BLI_path_ncmp(filename, de->d_name, FILE_MAX) == 0) { /* name matches */ /* open the file to read its size */ size = status.st_size; if ((size > 0) && (size > *r_filesize)) { /* find the biggest file */ |