aboutsummaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'status.c')
-rw-r--r--status.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/status.c b/status.c
index 2a880eaf..7efb0627 100644
--- a/status.c
+++ b/status.c
@@ -1,4 +1,4 @@
-/* $Id: status.c,v 1.40 2008-06-23 21:54:48 nicm Exp $ */
+/* $Id: status.c,v 1.41 2008-06-23 22:12:29 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -48,7 +48,8 @@ status_redraw(struct client *c)
if (clock_gettime(CLOCK_REALTIME, &c->status_timer) != 0)
fatal("clock_gettime failed");
- colr = options_get_number(&s->options, "status-colour");
+ colr = options_get_number(&s->options, "status-bg") +
+ (options_get_number(&s->options, "status-fg") << 4);
yy = c->sy - 1;
if (yy == 0)