diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-04-13 08:26:28 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-04-13 08:26:28 +0000 |
commit | 9947eee19da9830a3c591d7fb4574df8cdd144e6 (patch) | |
tree | 1a0de0f756437614d69dd15dc6d5c4da36dec3d6 /usr.bin/tmux/cmd-respawn-pane.c | |
parent | 5230ffc0bf4649be99e262688d7286dffa252d99 (diff) |
Make struct cmd local to cmd.c and move it out of tmux.h.
Diffstat (limited to 'usr.bin/tmux/cmd-respawn-pane.c')
-rw-r--r-- | usr.bin/tmux/cmd-respawn-pane.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-respawn-pane.c b/usr.bin/tmux/cmd-respawn-pane.c index 8b15023f8dc..22780316885 100644 --- a/usr.bin/tmux/cmd-respawn-pane.c +++ b/usr.bin/tmux/cmd-respawn-pane.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-respawn-pane.c,v 1.30 2020/03/31 17:14:40 nicm Exp $ */ +/* $OpenBSD: cmd-respawn-pane.c,v 1.31 2020/04/13 08:26:27 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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; |