=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-select-pane.c,v retrieving revision 1.57 retrieving revision 1.58 diff -u -r1.57 -r1.58 --- src/usr.bin/tmux/cmd-select-pane.c 2020/04/13 14:04:25 1.57 +++ src/usr.bin/tmux/cmd-select-pane.c 2020/04/13 14:46:04 1.58 @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-select-pane.c,v 1.57 2020/04/13 14:04:25 nicm Exp $ */ +/* $OpenBSD: cmd-select-pane.c,v 1.58 2020/04/13 14:46:04 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott @@ -85,8 +85,7 @@ { struct args *args = cmd_get_args(self); const struct cmd_entry *entry = cmd_get_entry(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 client *c = cmd_find_client(item, NULL, 1); struct winlink *wl = target->wl;