- got tired of str[n]casecmp not declared warnings
[blender.git] / source / blender / src / filesel.c
index 01d44def531aa6a738050a4d1f121af7dc7b8a91..219783f54fc5a444005045bbfa2be688da0e3bf4 100644 (file)
@@ -321,7 +321,7 @@ static int compare_name(const void *a1, const void *a2)
        if( strcmp(entry2->relname, ".")==0 ) return (1);
        if( strcmp(entry1->relname, "..")==0 ) return (-1);
        
-       return (strcasecmp(entry1->relname,entry2->relname));
+       return (BLI_strcasecmp(entry1->relname,entry2->relname));
 }
 
 static int compare_date(const void *a1, const void *a2)        
@@ -351,7 +351,7 @@ static int compare_date(const void *a1, const void *a2)
        if ( entry1->s.st_mtime < entry2->s.st_mtime) return 1;
        if ( entry1->s.st_mtime > entry2->s.st_mtime) return -1;
        
-       else return strcasecmp(entry1->relname,entry2->relname);
+       else return BLI_strcasecmp(entry1->relname,entry2->relname);
 }
 
 static int compare_size(const void *a1, const void *a2)        
@@ -380,7 +380,7 @@ static int compare_size(const void *a1, const void *a2)
        
        if ( entry1->s.st_size < entry2->s.st_size) return 1;
        if ( entry1->s.st_size > entry2->s.st_size) return -1;
-       else return strcasecmp(entry1->relname,entry2->relname);
+       else return BLI_strcasecmp(entry1->relname,entry2->relname);
 }