diff options
author | Thomas Adam <thomas@xteddy.org> | 2021-08-12 22:01:22 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2021-08-12 22:01:22 +0100 |
commit | 94d96c6179277cae2443a3358d538493683576c9 (patch) | |
tree | 8e0c7c3ffd4b0888fd7d16c5b4996a148af09889 /status.c | |
parent | 9d7b1960c2bf36f678cbe213ba46221f0b80b31e (diff) | |
parent | 6feb8f6505441583bb9f289da2227954c8335ce4 (diff) | |
download | rtmux-94d96c6179277cae2443a3358d538493683576c9.tar.gz rtmux-94d96c6179277cae2443a3358d538493683576c9.tar.bz2 rtmux-94d96c6179277cae2443a3358d538493683576c9.zip |
Merge branch 'obsd-master' into master
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; |