diff options
author | Andrea Weikert <elubie@gmx.net> | 2009-03-12 02:22:07 +0300 |
---|---|---|
committer | Andrea Weikert <elubie@gmx.net> | 2009-03-12 02:22:07 +0300 |
commit | 9d766c35adba37f7c575c30aa3abfd1a1169ceba (patch) | |
tree | 93936d222ecfc6608d2cb35ec87d2a65f4a2521f /source/blender/blenlib/intern | |
parent | dc57b90f83680e940e25fcf6c89af1efd089a0bc (diff) |
2.5 filebrowser WIP commit
- cleaned up warnings (mostly unneeded variables)
- new icons for filebrowser (large refresh and parent icons missing though)
- fixed error in large icon drawing due to texture coordinates calculated outside subpart of texture.
- removed library loading stuff from filelist
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/storage.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/storage.c b/source/blender/blenlib/intern/storage.c index 8ba03ad1343..e01d2dbc3fb 100644 --- a/source/blender/blenlib/intern/storage.c +++ b/source/blender/blenlib/intern/storage.c @@ -152,7 +152,8 @@ int BLI_compare(struct direntry *entry1, struct direntry *entry2) if( strcmp(entry1->relname, ".")==0 ) return (-1); if( strcmp(entry2->relname, ".")==0 ) return (1); if( strcmp(entry1->relname, "..")==0 ) return (-1); - + if( strcmp(entry2->relname, "..")==0 ) return (1); + return (BLI_strcasecmp(entry1->relname,entry2->relname)); } |