Fix T51432: Find Files case sensitive on win32
This commit is contained in:
parent
415ff7467c
commit
1cfc48192c
Notes:
blender-bot
2023-02-14 07:00:18 +01:00
Referenced by issue #51459, Principled BSDF roughness is different between node editor and properties editor Referenced by issue #51437, Denoiser produces black pixels Referenced by issue #51432, "Find Missing Files" case sensitivity on windows
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue