aboutsummaryrefslogtreecommitdiff
path: root/cmd-paste-buffer.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-04-13 14:01:45 +0100
committerThomas Adam <thomas@xteddy.org>2020-04-13 14:01:45 +0100
commit8f2b5d714a9f854c9583cab8bae70a2c7323fa00 (patch)
tree4e887ff4a1fcb3703fb0a1fcaa751183cff24c12 /cmd-paste-buffer.c
parentb117c3b81217a11946ac784cfbe2ef1f3725b207 (diff)
parent04cdd035250b93b728678d515b69690653dced4e (diff)
downloadrtmux-8f2b5d714a9f854c9583cab8bae70a2c7323fa00.tar.gz
rtmux-8f2b5d714a9f854c9583cab8bae70a2c7323fa00.tar.bz2
rtmux-8f2b5d714a9f854c9583cab8bae70a2c7323fa00.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-paste-buffer.c')
-rw-r--r--cmd-paste-buffer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-paste-buffer.c b/cmd-paste-buffer.c
index e8a5f525..c8447426 100644
--- a/cmd-paste-buffer.c
+++ b/cmd-paste-buffer.c
@@ -47,7 +47,8 @@ static enum cmd_retval
cmd_paste_buffer_exec(struct cmd *self, struct cmdq_item *item)
{
struct args *args = cmd_get_args(self);
- struct window_pane *wp = item->target.wp;
+ struct cmd_find_state *target = cmdq_get_target(item);
+ struct window_pane *wp = target->wp;
struct paste_buffer *pb;
const char *sepstr, *bufname, *bufdata, *bufend, *line;
size_t seplen, bufsize;