diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-04-13 14:04:26 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-04-13 14:04:26 +0000 |
commit | b38a262a57ad0941a41ed3626664891772f6444e (patch) | |
tree | 6cda239574af188610e7a10cc59dc1545b001ee3 /usr.bin/tmux/cmd-select-pane.c | |
parent | f332e1470fe1588871275b0439ceffa0f7bddf66 (diff) |
Rename cmdq_shared to cmdq_state which will better reflect what it is
(going to be) used for.
Diffstat (limited to 'usr.bin/tmux/cmd-select-pane.c')
-rw-r--r-- | usr.bin/tmux/cmd-select-pane.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-select-pane.c b/usr.bin/tmux/cmd-select-pane.c index 064935551ba..c9f41a84c75 100644 --- a/usr.bin/tmux/cmd-select-pane.c +++ b/usr.bin/tmux/cmd-select-pane.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-select-pane.c,v 1.56 2020/04/13 10:59:58 nicm Exp $ */ +/* $OpenBSD: cmd-select-pane.c,v 1.57 2020/04/13 14:04:25 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -85,8 +85,8 @@ cmd_select_pane_exec(struct cmd *self, struct cmdq_item *item) { struct args *args = cmd_get_args(self); const struct cmd_entry *entry = cmd_get_entry(self); - struct cmdq_shared *shared = cmdq_get_shared(item); - struct cmd_find_state *current = &shared->current; + struct cmdq_state *state = cmdq_get_state(item); + struct cmd_find_state *current = &state->current; struct cmd_find_state *target = cmdq_get_target(item); struct client *c = cmd_find_client(item, NULL, 1); struct winlink *wl = target->wl; |