summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-rotate-window.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2020-04-13 14:04:26 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2020-04-13 14:04:26 +0000
commitb38a262a57ad0941a41ed3626664891772f6444e (patch)
tree6cda239574af188610e7a10cc59dc1545b001ee3 /usr.bin/tmux/cmd-rotate-window.c
parentf332e1470fe1588871275b0439ceffa0f7bddf66 (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-rotate-window.c')
-rw-r--r--usr.bin/tmux/cmd-rotate-window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-rotate-window.c b/usr.bin/tmux/cmd-rotate-window.c
index 34c8b948907..f609ebb0d0e 100644
--- a/usr.bin/tmux/cmd-rotate-window.c
+++ b/usr.bin/tmux/cmd-rotate-window.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-rotate-window.c,v 1.29 2020/04/13 10:59:58 nicm Exp $ */
+/* $OpenBSD: cmd-rotate-window.c,v 1.30 2020/04/13 14:04:25 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -44,8 +44,8 @@ static enum cmd_retval
cmd_rotate_window_exec(struct cmd *self, struct cmdq_item *item)
{
struct args *args = cmd_get_args(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 winlink *wl = target->wl;
struct window *w = wl->window;