diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-07-16 23:25:21 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-07-16 23:25:21 +0000 |
commit | 9642f0373f94d6015e66806c95ba1570c7bb06ea (patch) | |
tree | 7cb846e9cd3a6923736a4cf3d46147117b279812 | |
parent | 3e9d9a2119dbfccc7a1a45158008283e874a5c96 (diff) | |
download | rtmux-9642f0373f94d6015e66806c95ba1570c7bb06ea.tar.gz rtmux-9642f0373f94d6015e66806c95ba1570c7bb06ea.tar.bz2 rtmux-9642f0373f94d6015e66806c95ba1570c7bb06ea.zip |
Remove some duplicate code that was causing the status line to be redrawn even
when it hadn't changed.
-rw-r--r-- | status.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -62,10 +62,6 @@ status_redraw(struct client *c) memcpy(&old_status, &c->status, sizeof old_status); screen_init(&c->status, c->tty.sx, 1, 0); - /* Create the target screen. */ - memcpy(&old_status, &c->status, sizeof old_status); - screen_init(&c->status, c->tty.sx, 1, 0); - if (gettimeofday(&c->status_timer, NULL) != 0) fatal("gettimeofday"); memcpy(&stdgc, &grid_default_cell, sizeof gc); |