From b0d8393c05bd18d639af158f2d6e83ad2468da7b Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 29 Sep 2008 17:47:12 +0000 Subject: [PATCH] Clear status bar cell. --- status.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/status.c b/status.c index 9f14b0a9..bdac3135 100644 --- a/status.c +++ b/status.c @@ -1,4 +1,4 @@ -/* $Id: status.c,v 1.48 2008-09-26 06:45:27 nicm Exp $ */ +/* $Id: status.c,v 1.49 2008-09-29 17:47:12 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -50,6 +50,7 @@ status_redraw(struct client *c) if (gettimeofday(&c->status_timer, NULL) != 0) fatal("gettimeofday"); + memcpy(&gc, &grid_default_cell, sizeof gc); gc.fg = options_get_number(&s->options, "status-fg"); gc.bg = options_get_number(&s->options, "status-bg");