summaryrefslogtreecommitdiff
path: root/src/bin/win.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/win.c')
-rw-r--r--src/bin/win.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/win.c b/src/bin/win.c
index e9fbec0..05fdd34 100644
--- a/src/bin/win.c
+++ b/src/bin/win.c
@@ -3324,6 +3324,7 @@ _tabs_close(Term_Container *tc, Term_Container *child)
3324 3324
3325 l = _tab_item_find(tabs, child); 3325 l = _tab_item_find(tabs, child);
3326 item = l->data; 3326 item = l->data;
3327 tabs->tabs = eina_list_remove_list(tabs->tabs, l);
3327 3328
3328 next = eina_list_next(l); 3329 next = eina_list_next(l);
3329 if (!next) 3330 if (!next)
@@ -3331,7 +3332,6 @@ _tabs_close(Term_Container *tc, Term_Container *child)
3331 next_item = next->data; 3332 next_item = next->data;
3332 next_child = next_item->tc; 3333 next_child = next_item->tc;
3333 assert (next_child->type == TERM_CONTAINER_TYPE_SOLO); 3334 assert (next_child->type == TERM_CONTAINER_TYPE_SOLO);
3334 tabs->tabs = eina_list_remove_list(tabs->tabs, l);
3335 3335
3336 assert (child->type == TERM_CONTAINER_TYPE_SOLO); 3336 assert (child->type == TERM_CONTAINER_TYPE_SOLO);
3337 solo = (Solo*)child; 3337 solo = (Solo*)child;