diff options
author | Erwin Coumans <blender@erwincoumans.com> | 2008-10-10 09:17:47 +0400 |
---|---|---|
committer | Erwin Coumans <blender@erwincoumans.com> | 2008-10-10 09:17:47 +0400 |
commit | 3c27b8034b624d23024e3ece23639bd428f2788f (patch) | |
tree | 747289a8aa453451ff015d47d0f644da3cc4a94d /source/blender/blenlib/intern/fileops.c | |
parent | 0749bf7be70e32b8fd4dd09839bce0267dbe9b29 (diff) |
use BLI_strcasecmp instead of strcasecmp so it actually links under Windows
Diffstat (limited to 'source/blender/blenlib/intern/fileops.c')
-rw-r--r-- | source/blender/blenlib/intern/fileops.c | 2 |
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); |