From 074780fea4334057192fd172c45c66b8802ffd1a Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sun, 22 Nov 2009 00:09:42 +0000 Subject: [PATCH] Sync OpenBSD patchset 555: Get some brackets in the right place so ## works. Also fix a space in a comment. --- status.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/status.c b/status.c index cab62756..d728757a 100644 --- a/status.c +++ b/status.c @@ -1,4 +1,4 @@ -/* $Id: status.c,v 1.133 2009-11-19 22:37:04 tcunha Exp $ */ +/* $Id: status.c,v 1.134 2009-11-22 00:09:42 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -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; }