Get some brackets in the right place so ## works. Also fix a space in a

comment.
This commit is contained in:
Nicholas Marriott 2009-11-19 21:30:53 +00:00
parent 33b337f618
commit 2cea9433c2

View File

@ -121,7 +121,7 @@ status_redraw(struct client *c)
size_t llen, rlen; size_t llen, rlen;
int larrow, rarrow, utf8flag; int larrow, rarrow, utf8flag;
/* No status line?*/ /* No status line? */
if (c->tty.sy == 0 || !options_get_number(&s->options, "status")) if (c->tty.sy == 0 || !options_get_number(&s->options, "status"))
return (1); return (1);
left = right = NULL; left = right = NULL;
@ -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;
} }