summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/window-copy.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2018-08-01 15:22:41 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2018-08-01 15:22:41 +0000
commita83ca27907400a48e3cf2a46d652e0281db9ce34 (patch)
tree43bf76fd222fe2206fab1a192e3d0d4cde1d6c5c /usr.bin/tmux/window-copy.c
parent1882b56b19c0929cb9046e4ffd72f92c30e32e12 (diff)
Initialize new lineflag member.
Diffstat (limited to 'usr.bin/tmux/window-copy.c')
-rw-r--r--usr.bin/tmux/window-copy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/window-copy.c b/usr.bin/tmux/window-copy.c
index 0b3ec0a0c79..b68b99cbe49 100644
--- a/usr.bin/tmux/window-copy.c
+++ b/usr.bin/tmux/window-copy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: window-copy.c,v 1.192 2018/07/31 11:49:26 nicm Exp $ */
+/* $OpenBSD: window-copy.c,v 1.193 2018/08/01 15:22:40 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -214,6 +214,7 @@ window_copy_init(struct window_pane *wp, __unused struct cmd_find_state *fs,
data->backing_written = 0;
+ data->lineflag = LINE_SEL_NONE;
data->rectflag = 0;
data->scroll_exit = 0;