filetree.c add back SORT_ALPHA_REVERSED
this is used for the playlist folder advance Change-Id: I9da826d39c1a5880f6b97c33389afd601ce07834
This commit is contained in:
parent
263cc13985
commit
0d355a9c47
1 changed files with 2 additions and 1 deletions
|
@ -258,7 +258,8 @@ static int compare(const void* p1, const void* p2)
|
|||
case SORT_ALPHA:
|
||||
case SORT_ALPHA_REVERSED:
|
||||
{
|
||||
return cmp_data._compar(e1->name, e2->name, MAX_PATH);
|
||||
return cmp_data._compar(e1->name, e2->name, MAX_PATH) *
|
||||
(criteria == SORT_ALPHA_REVERSED ? -1 : 1);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue