diff options
Diffstat (limited to 'usr.bin/tmux/window-clock.c')
-rw-r--r-- | usr.bin/tmux/window-clock.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/window-clock.c b/usr.bin/tmux/window-clock.c index 8459f3f5149..d569e680df0 100644 --- a/usr.bin/tmux/window-clock.c +++ b/usr.bin/tmux/window-clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window-clock.c,v 1.17 2016/01/19 15:59:12 nicm Exp $ */ +/* $OpenBSD: window-clock.c,v 1.18 2016/07/15 00:42:56 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -230,7 +230,7 @@ window_clock_draw_screen(struct window_pane *wp) screen_write_cursormove(&ctx, x, y); memcpy(&gc, &grid_default_cell, sizeof gc); - colour_set_fg(&gc, colour); + gc.fg = colour; screen_write_puts(&ctx, &gc, "%s", tim); } @@ -242,7 +242,7 @@ window_clock_draw_screen(struct window_pane *wp) y = (screen_size_y(s) / 2) - 3; memcpy(&gc, &grid_default_cell, sizeof gc); - colour_set_bg(&gc, colour); + gc.bg = colour; for (ptr = tim; *ptr != '\0'; ptr++) { if (*ptr >= '0' && *ptr <= '9') idx = *ptr - '0'; |