summaryrefslogtreecommitdiffstats
path: root/status.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-11-19 21:30:53 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-11-19 21:30:53 +0000
commit2cea9433c27dc21d3f5215cb90ab66c905a88098 (patch)
treefaa5e2a9819d556cb57ca425f2e54fb50a135fa9 /status.c
parent33b337f6185aba3b59962db17de9b08af48de301 (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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/status.c b/status.c
index 742d4495..31e25215 100644
--- a/status.c
+++ b/status.c
@@ -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;
}