summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/status.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-11-19 21:30:54 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-11-19 21:30:54 +0000
commit9154d3a5e501d11a25757edfab551cba7c777b33 (patch)
treedf7dc48da6791eb063f5dfe9d7f17ed94273a514 /usr.bin/tmux/status.c
parent14fba7e59e92dafb518d15789c8084f184dd468e (diff)
Get some brackets in the right place so ## works. Also fix a space in a
comment.
Diffstat (limited to 'usr.bin/tmux/status.c')
-rw-r--r--usr.bin/tmux/status.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/status.c b/usr.bin/tmux/status.c
index 873e756bd8c..ad65977d296 100644
--- a/usr.bin/tmux/status.c
+++ b/usr.bin/tmux/status.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: status.c,v 1.48 2009/11/19 19:47:28 nicm Exp $ */
+/* $OpenBSD: status.c,v 1.49 2009/11/19 21:30:53 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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;
}