forked from enlightenment/enlightenment
Modified shelf id sort to be a bit more complete. This fixes the issue where
shelves were missing from the Shelf Dialog list. SVN revision: 30862
This commit is contained in:
parent
22d4a7d9b9
commit
e12d3c3a1c
|
@ -1193,7 +1193,9 @@ _e_shelf_cb_id_sort(void *data1, void *data2)
|
|||
|
||||
es1 = data1;
|
||||
es2 = data2;
|
||||
return (es1->id) > (es2->id);
|
||||
if ((es1->id) < (es2->id)) return -1;
|
||||
else if (es1->id > es2->id) return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int
|
||||
|
|
Loading…
Reference in New Issue