extend deletion functions in LL.c, use them to make "bye" client command work

This commit is contained in:
marschap
2008-11-30 15:30:28 +00:00
parent a197581bd3
commit dcc643ec18
13 changed files with 79 additions and 51 deletions
+1 -1
View File
@@ -136,7 +136,7 @@ screen_remove_widget(Screen *s, Widget *w)
{
debug(RPT_DEBUG, "%s(s=[%.40s], widget=[%.40s])", __FUNCTION__, s->id, w->id);
LL_Remove(s->widgetlist, (void *) w);
LL_Remove(s->widgetlist, (void *) w, NEXT);
return 0;
}