Enlightenment CVS committal Author : cedric Project : e17 Module : proto/eina
Dir : e17/proto/eina/src/lib Modified Files: eina_inlist.c Log Message: Merge common code. =================================================================== RCS file: /cvs/e/e17/proto/eina/src/lib/eina_inlist.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -3 -r1.5 -r1.6 --- eina_inlist.c 12 Aug 2008 15:58:41 -0000 1.5 +++ eina_inlist.c 13 Aug 2008 09:21:33 -0000 1.6 @@ -79,7 +79,6 @@ ++i, over = over->next) ; - if (over == NULL) return EINA_FALSE; } else { middle = it->index >> 1; @@ -89,18 +88,16 @@ i > index && over != NULL; --i, over = over->prev) ; - - if (over == NULL) return EINA_FALSE; } else { /* Looking from the start. */ for (i = 0, over = it->head; i < index && over != NULL; ++i, over = over->next) ; - - if (over == NULL) return EINA_FALSE; } } + + if (over == NULL) return EINA_FALSE; it->current = over; it->index = index; ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs