From c20eb0c0ae3347c768894a6355adfd7ebae6f2f3 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 13 Apr 2020 08:26:27 +0000 Subject: Make struct cmd local to cmd.c and move it out of tmux.h. --- cmd-respawn-pane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd-respawn-pane.c') diff --git a/cmd-respawn-pane.c b/cmd-respawn-pane.c index 55544f93..3d4686f2 100644 --- a/cmd-respawn-pane.c +++ b/cmd-respawn-pane.c @@ -47,7 +47,7 @@ const struct cmd_entry cmd_respawn_pane_entry = { static enum cmd_retval cmd_respawn_pane_exec(struct cmd *self, struct cmdq_item *item) { - struct args *args = self->args; + struct args *args = cmd_get_args(self); struct spawn_context sc; struct session *s = item->target.s; struct winlink *wl = item->target.wl; -- cgit v1.2.3