summaryrefslogtreecommitdiffstats
path: root/apps/plugins/sort.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-07-23 15:13:18 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-07-23 15:13:18 +0000
commit0112fc8b0b44eec58f21a673acd51a916b5bae78 (patch)
tree2d62be924ad63b9586f7ff7094489fbda0d28326 /apps/plugins/sort.c
parentc051eda02824b48000b87e0507b36ed1fda9ff76 (diff)
downloadrockbox-0112fc8b0b44eec58f21a673acd51a916b5bae78.tar.gz
rockbox-0112fc8b0b44eec58f21a673acd51a916b5bae78.tar.bz2
rockbox-0112fc8b0b44eec58f21a673acd51a916b5bae78.zip
Case insensitive sorting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4926 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/sort.c')
-rw-r--r--apps/plugins/sort.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/sort.c b/apps/plugins/sort.c
index ae59bd0121..c8927081e9 100644
--- a/apps/plugins/sort.c
+++ b/apps/plugins/sort.c
@@ -70,7 +70,7 @@ static int compare(const void* p1, const void* p2)
char *s1 = *(char **)p1;
char *s2 = *(char **)p2;
- return rb->strcmp(s2, s1);
+ return rb->strcasecmp(s2, s1);
}
static void sort_buffer(void)