use BLI_strcasecmp instead of strcasecmp so it actually links under Windows

This commit is contained in:
2008-10-10 05:17:47 +00:00
parent 0749bf7be7
commit 3c27b8034b

View File

@@ -304,7 +304,7 @@ int BLI_rename(char *from, char *to) {
if (!BLI_exists(from)) return 0;
/* make sure the filenames are different (case insensitive) before removing */
if (BLI_exists(to) && strcasecmp(from, to))
if (BLI_exists(to) && BLI_strcasecmp(from, to))
if(BLI_delete(to, 0, 0)) return 1;
return rename(from, to);