forked from bartvdbraak/blender
fix [#26803] Libs paths are case sensitive in windows
another case was exposed by this report, making relative paths wasn't case insensitive on windows.
This commit is contained in:
parent
e6c30a41ea
commit
ed7f0c603f
@ -456,7 +456,12 @@ void BLI_path_rel(char *file, const char *relfile)
|
||||
char *p= temp;
|
||||
char *q= file;
|
||||
|
||||
while (*p == *q) {
|
||||
#ifdef WIN32
|
||||
while (tolower(*p) == tolower(*q))
|
||||
#else
|
||||
while (*p == *q)
|
||||
#endif
|
||||
{
|
||||
++p; ++q;
|
||||
/* dont search beyond the end of the string
|
||||
* in the rare case they match */
|
||||
|
Loading…
Reference in New Issue
Block a user