mirror of
https://github.com/tmate-io/tmate.git
synced 2025-02-17 02:41:07 +01:00
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:
parent
ec68dae252
commit
074780fea4
6
status.c
6
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 <nicm@users.sourceforge.net>
|
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
|
||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user