=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/Attic/clock.c,v retrieving revision 1.3 retrieving revision 1.4 diff -c -r1.3 -r1.4 *** src/usr.bin/tmux/Attic/clock.c 2009/08/26 16:23:30 1.3 --- src/usr.bin/tmux/Attic/clock.c 2009/09/10 17:16:24 1.4 *************** *** 1,4 **** ! /* $OpenBSD: clock.c,v 1.3 2009/08/26 16:23:30 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott --- 1,4 ---- ! /* $OpenBSD: clock.c,v 1.4 2009/09/10 17:16:24 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott *************** *** 120,126 **** screen_write_cursormove(ctx, x, y); memcpy(&gc, &grid_default_cell, sizeof gc); ! gc.fg = colour; screen_write_puts(ctx, &gc, "%s", tim); } return; --- 120,126 ---- screen_write_cursormove(ctx, x, y); memcpy(&gc, &grid_default_cell, sizeof gc); ! colour_set_fg(&gc, colour); screen_write_puts(ctx, &gc, "%s", tim); } return; *************** *** 130,136 **** y = (screen_size_y(s) / 2) - 3; memcpy(&gc, &grid_default_cell, sizeof gc); ! gc.bg = colour; for (ptr = tim; *ptr != '\0'; ptr++) { if (*ptr >= '0' && *ptr <= '9') idx = *ptr - '0'; --- 130,136 ---- y = (screen_size_y(s) / 2) - 3; memcpy(&gc, &grid_default_cell, sizeof gc); ! colour_set_bg(&gc, colour); for (ptr = tim; *ptr != '\0'; ptr++) { if (*ptr >= '0' && *ptr <= '9') idx = *ptr - '0';