Fix assertion failure when closing a terminal that has more than one tab.
commit2e42b2d4df383f963014f611c13eca8fc702f30a
authorKalle Olavi Niemitalo <kon@iki.fi>
Sun, 14 May 2006 20:13:51 +0000 (14 23:13 +0300)
committerKalle Olavi Niemitalo <kalle@Astalo.kon.iki.fi>
Sun, 14 May 2006 20:13:51 +0000 (14 23:13 +0300)
treeba50a3e51de89792d6af80fea93d62450bfa367f
parent513cade0ffa8039d23d6b5bc06eacdd20ae5bb0f
Fix assertion failure when closing a terminal that has more than one tab.

src/terminal/terminal.c (destroy_terminal): Set term->current_tab = 0
before deleting any windows.
src/terminal/terminal.c