diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-11-22 00:09:42 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-11-22 00:09:42 +0000 |
commit | 074780fea4334057192fd172c45c66b8802ffd1a (patch) | |
tree | 287c0632b44f8ddacc675b61463fb64028547054 | |
parent | ec68dae25230231314565820f3bef57b209e8480 (diff) | |
download | rtmux-074780fea4334057192fd172c45c66b8802ffd1a.tar.gz rtmux-074780fea4334057192fd172c45c66b8802ffd1a.tar.bz2 rtmux-074780fea4334057192fd172c45c66b8802ffd1a.zip |
Sync OpenBSD patchset 555:
Get some brackets in the right place so ## works. Also fix a space in a
comment.
-rw-r--r-- | status.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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> @@ -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; } |