Sync OpenBSD patchset 555:

Get some brackets in the right place so ## works. Also fix a space in a
comment.
This commit is contained in:
Tiago Cunha 2009-11-22 00:09:42 +00:00
parent ec68dae252
commit 074780fea4

View File

@ -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 <nicm@users.sourceforge.net> * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -419,7 +419,7 @@ status_replace1(struct client *c,struct winlink *wl,
ch = ']'; ch = ']';
goto skip_to; goto skip_to;
case '#': case '#':
*(*optr++) = '#'; *(*optr)++ = '#';
break; break;
} }