-/* $OpenBSD: status.c,v 1.225 2021/06/10 07:56:47 nicm Exp $ */
+/* $OpenBSD: status.c,v 1.226 2021/08/12 20:09:34 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
/* Set up default colour. */
style_apply(&gc, s->options, "status-style", ft);
fg = options_get_number(s->options, "status-fg");
- if (fg != 8)
+ if (!COLOUR_DEFAULT(fg))
gc.fg = fg;
bg = options_get_number(s->options, "status-bg");
- if (bg != 8)
+ if (!COLOUR_DEFAULT(bg))
gc.bg = bg;
if (!grid_cells_equal(&gc, &sl->style)) {
force = 1;