termpty: fix _termpty_cell_is_empty()

was not working on cell = {}
terminology-1.4
Boris Faure 4 years ago
parent 1c9c2a19ed
commit 0f45747925
  1. 8
      src/bin/termpty.c

@ -848,10 +848,10 @@ termpty_free(Termpty *ty)
static Eina_Bool
_termpty_cell_is_empty(const Termcell *cell)
{
return (((cell->codepoint == 0) ||
(cell->att.invisible) ||
(cell->att.fg == COL_INVIS)) &&
(cell->att.bg == COL_INVIS));
return ((cell->codepoint == 0) ||
(cell->att.invisible) ||
(cell->att.fg == COL_INVIS)) &&
((cell->att.bg == COL_INVIS) || (cell->att.bg == COL_DEF));
}
static Eina_Bool

Loading…
Cancel
Save