diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-11-19 21:30:53 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-11-19 21:30:53 +0000 |
commit | 2cea9433c27dc21d3f5215cb90ab66c905a88098 (patch) | |
tree | faa5e2a9819d556cb57ca425f2e54fb50a135fa9 /status.c | |
parent | 33b337f6185aba3b59962db17de9b08af48de301 (diff) |
Get some brackets in the right place so ## works. Also fix a space in a
comment.
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -121,7 +121,7 @@ status_redraw(struct client *c) size_t llen, rlen; int larrow, rarrow, utf8flag; - /* No status line?*/ + /* No status line? */ if (c->tty.sy == 0 || !options_get_number(&s->options, "status")) return (1); left = right = NULL; @@ -419,7 +419,7 @@ status_replace1(struct client *c,struct winlink *wl, ch = ']'; goto skip_to; case '#': - *(*optr++) = '#'; + *(*optr)++ = '#'; break; } |