aboutsummaryrefslogtreecommitdiff
path: root/cmd-if-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-if-shell.c')
-rw-r--r--cmd-if-shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-if-shell.c b/cmd-if-shell.c
index ee056520..4210392e 100644
--- a/cmd-if-shell.c
+++ b/cmd-if-shell.c
@@ -63,9 +63,9 @@ static enum cmd_retval
cmd_if_shell_exec(struct cmd *self, struct cmdq_item *item)
{
struct args *args = cmd_get_args(self);
- struct cmdq_shared *shared = cmdq_get_shared(item);
+ struct cmdq_state *state = cmdq_get_state(item);
struct cmd_find_state *target = cmdq_get_target(item);
- struct mouse_event *m = &shared->event.m;
+ struct mouse_event *m = &state->event.m;
struct cmd_if_shell_data *cdata;
char *shellcmd, *cmd;
const char *file;