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; }