summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/server.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-09-10 17:16:25 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-09-10 17:16:25 +0000
commit2f7e182abd2f1598516d059288987813c8f7efb2 (patch)
tree069442bf7fb5949abf96365a80646e425f10233d /usr.bin/tmux/server.c
parentf28e0674b7722428f7f9626a0d45444001b964d8 (diff)
Permit options such as status-bg to be configured using the entire 256 colour
palette by setting "colour0" to "colour255".
Diffstat (limited to 'usr.bin/tmux/server.c')
-rw-r--r--usr.bin/tmux/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/server.c b/usr.bin/tmux/server.c
index e8ea7435cc0..f0bfcc20dbe 100644
--- a/usr.bin/tmux/server.c
+++ b/usr.bin/tmux/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.32 2009/09/07 21:12:12 nicm Exp $ */
+/* $OpenBSD: server.c,v 1.33 2009/09/10 17:16:24 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -601,7 +601,7 @@ server_redraw_locked(struct client *c)
style = options_get_number(&global_w_options, "clock-mode-style");
memcpy(&gc, &grid_default_cell, sizeof gc);
- gc.fg = colour;
+ colour_set_fg(&gc, colour);
gc.attr |= GRID_ATTR_BRIGHT;
screen_init(&screen, xx, yy, 0);