Enlightenment CVS committal Author : devilhorns Project : e17 Module : apps/e
Dir : e17/apps/e/src/bin Modified Files: e_shelf.c Log Message: Modified shelf id sort to be a bit more complete. This fixes the issue where shelves were missing from the Shelf Dialog list. =================================================================== RCS file: /cvs/e/e17/apps/e/src/bin/e_shelf.c,v retrieving revision 1.68 retrieving revision 1.69 diff -u -3 -r1.68 -r1.69 --- e_shelf.c 10 Jun 2007 11:01:41 -0000 1.68 +++ e_shelf.c 16 Jul 2007 20:43:13 -0000 1.69 @@ -1193,7 +1193,9 @@ 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 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs