|
From: <enl...@li...> - 2001-05-03 21:49:03
|
Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewd
Dir : e17/libs/ewd/test
Modified Files:
ewd_list_test.c
Log Message:
Fixup in removing the last item from the list.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewd/test/ewd_list_test.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- ewd_list_test.c 2001/05/01 21:22:02 1.2
+++ ewd_list_test.c 2001/05/03 21:49:03 1.3
@@ -19,9 +19,8 @@
printf("Got through the first loop\n");
ewd_list_goto_first(list);
- while ((i = (int)ewd_list_next(list))) {
+ while ((i = (int)ewd_list_remove_last(list))) {
printf("Value: %d\n", i);
- ewd_list_remove(list);
}
printf("Got through the second loop\n");
|