extend deletion functions in LL.c, use them to make "bye" client command work
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user