mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 20:46:50 +03:00
There must be a next widget for swap_siblings.
This commit is contained in:
parent
2468d00675
commit
fe67bd95d7
@ -144,11 +144,12 @@ fbtk_set_mapping(fbtk_widget_t *widget, bool map)
|
||||
static void
|
||||
swap_siblings(fbtk_widget_t *lw)
|
||||
{
|
||||
fbtk_widget_t *rw; /* the widget to swap lw with */
|
||||
fbtk_widget_t *rw = lw->next; /* the widget to swap lw with */
|
||||
fbtk_widget_t *before;
|
||||
fbtk_widget_t *after;
|
||||
|
||||
rw = lw->next;
|
||||
assert(rw != NULL);
|
||||
|
||||
LOG(("Swapping %p with %p", lw, rw));
|
||||
before = lw->prev;
|
||||
after = rw->next;
|
||||
|
Loading…
Reference in New Issue
Block a user