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:
Campbell Barton 2011-04-08 06:47:41 +00:00
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 */