billiob pushed a commit to branch master. http://git.enlightenment.org/apps/terminology.git/commit/?id=9aa5efae1fcae89f06761f2b43118f714891938e
commit 9aa5efae1fcae89f06761f2b43118f714891938e Author: Boris Faure <[email protected]> Date: Mon Jun 9 19:40:25 2014 +0200 remove correct term --- src/bin/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/main.c b/src/bin/main.c index a7b72e3..ac5cdf9 100644 --- a/src/bin/main.c +++ b/src/bin/main.c @@ -612,7 +612,7 @@ main_close(Evas_Object *win, Evas_Object *term) if (sp->sel) _sel_restore(sp); spp = sp->parent; if ((sp->term->focused) && (spp)) termfoc = _term_next_get(sp->term); - sp->wn->terms = eina_list_remove(sp->wn->terms, sp->term); + sp->wn->terms = eina_list_remove(sp->wn->terms, tm); if (spp) { if (eina_list_count(sp->terms) <= 1) --
