Commit c1788de6 authored by Ilkka Ollakka's avatar Ilkka Ollakka

playlist: do case ignoring cmp everywhere when sorting

parent 533b06f8
......@@ -159,7 +159,7 @@ static int playlist_cmp(const void *first, const void *second)
} \
else \
{ \
if( !integer ) i_test = strcmp( psz_a, psz_b ); \
if( !integer ) i_test = strcasecmp( psz_a, psz_b ); \
else i_test = atoi( psz_a ) - atoi( psz_b ); \
} \
free( psz_a ); \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment