diff options
author | nicm <nicm> | 2021-08-12 20:09:34 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-08-12 20:09:34 +0000 |
commit | 6feb8f6505441583bb9f289da2227954c8335ce4 (patch) | |
tree | 537fa16e7c52b8a568a3d834c39ff99f938cd4ea /status.c | |
parent | 9b004728202d03241009ef5f73980909e9234bc4 (diff) | |
download | rtmux-6feb8f6505441583bb9f289da2227954c8335ce4.tar.gz rtmux-6feb8f6505441583bb9f289da2227954c8335ce4.tar.bz2 rtmux-6feb8f6505441583bb9f289da2227954c8335ce4.zip |
Use COLOUR_DEFAULT not hardcoded 8.
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -390,10 +390,10 @@ status_redraw(struct client *c) /* 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; |