From 2cea9433c27dc21d3f5215cb90ab66c905a88098 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 19 Nov 2009 21:30:53 +0000 Subject: [PATCH] Get some brackets in the right place so ## works. Also fix a space in a comment. --- status.c | 4 ++-- 1 file 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; }