From: nicm Date: Mon, 24 Jun 2024 08:11:46 +0000 (+0000) Subject: Check the underline style colour against the correct default value again X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=345682952f001f2c8002a54d8cd6c5571960ac5e;p=openbsd Check the underline style colour against the correct default value again (it was changed from 0 to 8), from Romain Francoise. --- diff --git a/usr.bin/tmux/grid.c b/usr.bin/tmux/grid.c index faf9dacfe8e..53a4e34f678 100644 --- a/usr.bin/tmux/grid.c +++ b/usr.bin/tmux/grid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grid.c,v 1.130 2023/07/13 06:03:48 nicm Exp $ */ +/* $OpenBSD: grid.c,v 1.131 2024/06/24 08:11:46 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott @@ -88,7 +88,7 @@ grid_need_extended_cell(const struct grid_cell_entry *gce, return (1); if ((gc->fg & COLOUR_FLAG_RGB) || (gc->bg & COLOUR_FLAG_RGB)) return (1); - if (gc->us != 0) /* only supports 256 or RGB */ + if (gc->us != 8) /* only supports 256 or RGB */ return (1); if (gc->link != 0) return (1);