From: <enl...@li...> - 2001-05-01 21:22:32
|
Enlightenment CVS committal Author : rbdpngn Project : e17 Module : libs/ewd Dir : e17/libs/ewd/src Modified Files: Makefile.am ewd_list.c Log Message: Possible nastyness in ewd_list_remove, bug may still exist, but this should help with some of the issues seen in ewl. =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewd/src/Makefile.am,v retrieving revision 1.4 retrieving revision 1.5 diff -u -3 -r1.4 -r1.5 --- Makefile.am 2001/05/01 18:00:10 1.4 +++ Makefile.am 2001/05/01 21:22:02 1.5 @@ -22,5 +22,5 @@ ewd_tree.c \ ewd_value.c -libewd_la_LIBADD = -lm +libewd_la_LIBADD = -lm -lefence libewd_la_LDFLAGS = -version-info 0:0:0 =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/ewd/src/ewd_list.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -3 -r1.3 -r1.4 --- ewd_list.c 2001/05/01 17:53:49 1.3 +++ ewd_list.c 2001/05/01 21:22:02 1.4 @@ -357,7 +357,7 @@ old = list->current; - _ewd_list_goto_index(list, ewd_list_index(list) - 1); + _ewd_list_goto_index(list, list->index - 1); EWD_WRITE_LOCK_STRUCT(list->current); EWD_WRITE_LOCK_STRUCT(old); @@ -366,6 +366,8 @@ old->next = NULL; ret = old->data; old->data = NULL; + + _ewd_list_next(list); EWD_WRITE_UNLOCK_STRUCT(old); EWD_WRITE_UNLOCK_STRUCT(list->current); |