Commit 1bfeccd7 authored by Thomas Guillem's avatar Thomas Guillem

playlist/directory: ignore case when comparing files without strcoll

parent efb1e760
......@@ -125,9 +125,10 @@ static int compar_collate( input_item_t *p1, input_item_t *p2 )
return i_ret;
#ifdef HAVE_STRCOLL
/* The program's LOCAL defines if case is ignored */
return strcoll( p1->psz_name, p2->psz_name );
#else
return strcmp( p1->psz_name, p2->psz_name );
return strcasecmp( p1->psz_name, p2->psz_name );
#endif
}
......
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