Commit fdcbe7ab authored by Jehan's avatar Jehan

Fix of a bug introduced in rev 331: when a tab which was not the last tab was...

Fix of a bug introduced in rev 331: when a tab which was not the last tab was removed, the tabbar was not well redrawn
parent 0d200918
......@@ -1514,7 +1514,10 @@ rxvt_remove_page (rxvt_t* r, short page)
if (FVTAB(r) > page)
FVTAB(r)--;
if (LVTAB(r) > page)
{
refresh_tabbar_tab (r, LVTAB (r));
LVTAB(r)--;
}
/* Reorganize the tabs array. */
/* update TermWin and tab_widths */
for (i = page; i <= LTAB(r); i++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment