termpty (_termpty_cell_is_empty): resolve a conflict of color9 vs COL_INVIS

pull/4/head
Koichi Murase 5 months ago
parent 7e4ab152a5
commit 40bd9a0161
  1. 4
      src/bin/termpty.c

@ -924,8 +924,8 @@ _termpty_cell_is_empty(const Termcell *cell)
{
return ((cell->codepoint == 0) ||
(cell->att.invisible) ||
(cell->att.fg == COL_INVIS)) &&
((cell->att.bg == COL_INVIS) || (cell->att.bg == COL_DEF));
((cell->att.fg256 == 0) && (cell->att.fg == COL_INVIS))) &&
(((cell->att.bg256 == 0) && (cell->att.bg == COL_INVIS)) || (cell->att.bg == COL_DEF));
}
static Eina_Bool

Loading…
Cancel
Save