Check the underline style colour against the correct default value again

(it was changed from 0 to 8), from Romain Francoise.
This commit is contained in:
nicm 2024-06-24 08:11:46 +00:00
parent 692ce59bce
commit db1665868f

2
grid.c
View File

@ -88,7 +88,7 @@ grid_need_extended_cell(const struct grid_cell_entry *gce,
return (1); return (1);
if ((gc->fg & COLOUR_FLAG_RGB) || (gc->bg & COLOUR_FLAG_RGB)) if ((gc->fg & COLOUR_FLAG_RGB) || (gc->bg & COLOUR_FLAG_RGB))
return (1); return (1);
if (gc->us != 0) /* only supports 256 or RGB */ if (gc->us != 8) /* only supports 256 or RGB */
return (1); return (1);
if (gc->link != 0) if (gc->link != 0)
return (1); return (1);