Commit f6d262ba authored by Ilkka Ollakka's avatar Ilkka Ollakka

playlist: do case ignoring cmp everywhere when sorting

parent 0fb16f5a
......@@ -156,7 +156,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