Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErwin Coumans <blender@erwincoumans.com>2008-10-10 09:17:47 +0400
committerErwin Coumans <blender@erwincoumans.com>2008-10-10 09:17:47 +0400
commit3c27b8034b624d23024e3ece23639bd428f2788f (patch)
tree747289a8aa453451ff015d47d0f644da3cc4a94d /source/blender/blenlib
parent0749bf7be70e32b8fd4dd09839bce0267dbe9b29 (diff)
use BLI_strcasecmp instead of strcasecmp so it actually links under Windows
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/intern/fileops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/fileops.c b/source/blender/blenlib/intern/fileops.c
index fd9bb17071a..76437720e45 100644
--- a/source/blender/blenlib/intern/fileops.c
+++ b/source/blender/blenlib/intern/fileops.c
@@ -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);