summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/screen-redraw.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-02-06 15:09:35 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-02-06 15:09:35 +0000
commit9d783d8abcc5208fdab3091c01406ee5f1009418 (patch)
tree5781a64e205022dba6f6fd811279e0187a04bf0a /usr.bin/tmux/screen-redraw.c
parentc8688471c900761ca2b7ed5734ae38f85a116f93 (diff)
Move pane border options to window options rather than session, from Marc Finet.
Diffstat (limited to 'usr.bin/tmux/screen-redraw.c')
-rw-r--r--usr.bin/tmux/screen-redraw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/screen-redraw.c b/usr.bin/tmux/screen-redraw.c
index 158cede3285..a25c215e4cc 100644
--- a/usr.bin/tmux/screen-redraw.c
+++ b/usr.bin/tmux/screen-redraw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: screen-redraw.c,v 1.28 2014/11/14 02:19:47 nicm Exp $ */
+/* $OpenBSD: screen-redraw.c,v 1.29 2015/02/06 15:09:34 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -275,7 +275,7 @@ void
screen_redraw_draw_borders(struct client *c, int status, u_int top)
{
struct window *w = c->session->curw->window;
- struct options *oo = &c->session->options;
+ struct options *oo = &w->options;
struct tty *tty = &c->tty;
struct window_pane *wp;
struct grid_cell active_gc, other_gc, msg_gc;