=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-split-window.c,v retrieving revision 1.101 retrieving revision 1.102 diff -u -r1.101 -r1.102 --- src/usr.bin/tmux/cmd-split-window.c 2020/04/13 14:04:25 1.101 +++ src/usr.bin/tmux/cmd-split-window.c 2020/04/13 14:46:04 1.102 @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-split-window.c,v 1.101 2020/04/13 14:04:25 nicm Exp $ */ +/* $OpenBSD: cmd-split-window.c,v 1.102 2020/04/13 14:46:04 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott @@ -54,8 +54,7 @@ cmd_split_window_exec(struct cmd *self, struct cmdq_item *item) { struct args *args = cmd_get_args(self); - struct cmdq_state *state = cmdq_get_state(item); - struct cmd_find_state *current = &state->current; + struct cmd_find_state *current = cmdq_get_current(item); struct cmd_find_state *target = cmdq_get_target(item); struct spawn_context sc; struct client *c = cmd_find_client(item, NULL, 1);