aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-12-18 14:01:18 +0000
committerThomas Adam <thomas@xteddy.org>2017-12-18 14:01:18 +0000
commit43a1294ed99c301bcbea808384535a37d8fd0066 (patch)
treeab35f2d6b4a8158fa84841ce3a87414a450fbe34
parent2c6af068d7f024b3c725777f78ee4feb1813bcf9 (diff)
parent58f6456af7a49db69cf84f538e03c4161a1188d6 (diff)
downloadrtmux-43a1294ed99c301bcbea808384535a37d8fd0066.tar.gz
rtmux-43a1294ed99c301bcbea808384535a37d8fd0066.tar.bz2
rtmux-43a1294ed99c301bcbea808384535a37d8fd0066.zip
Merge branch 'obsd-master'
-rw-r--r--status.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/status.c b/status.c
index 60faa42d..9886eebb 100644
--- a/status.c
+++ b/status.c
@@ -803,7 +803,7 @@ status_prompt_redraw(struct client *c)
struct screen old_status;
u_int i, offset, left, start, pcursor, pwidth, width;
u_int lines;
- size_t len, off;
+ size_t len;
struct grid_cell gc, cursorgc;
if (c->tty.sx == 0 || c->tty.sy == 0)
@@ -819,7 +819,6 @@ status_prompt_redraw(struct client *c)
len = screen_write_strlen("%s", c->prompt_string);
if (len > c->tty.sx)
len = c->tty.sx;
- off = 0;
if (c->prompt_mode == PROMPT_COMMAND)
style_apply(&gc, s->options, "message-command-style");