fix filesystem sort

This commit is contained in:
zmike 2014-05-18 07:47:54 -04:00
parent b14071f211
commit 6942c5cd39
1 changed files with 4 additions and 1 deletions

View File

@ -148,10 +148,13 @@ filesystem_entity_name_get(const Empc_Entity *ent)
}
static int
filesystem_sort(Empc_Entity *a, Empc_Entity *b)
filesystem_sort(Elm_Object_Item *it1, Elm_Object_Item *it2)
{
Empc_Entity *a, *b;
const char *a1, *b1;
a = elm_object_item_data_get(it1);
b = elm_object_item_data_get(it2);
a1 = filesystem_entity_name_get(a);
b1 = filesystem_entity_name_get(b);