summaryrefslogtreecommitdiffstats
path: root/cmd-list-panes.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-list-panes.c')
-rw-r--r--cmd-list-panes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-list-panes.c b/cmd-list-panes.c
index 10789460..ac97558e 100644
--- a/cmd-list-panes.c
+++ b/cmd-list-panes.c
@@ -50,7 +50,7 @@ const struct cmd_entry cmd_list_panes_entry = {
static enum cmd_retval
cmd_list_panes_exec(struct cmd *self, struct cmdq_item *item)
{
- struct args *args = self->args;
+ struct args *args = cmd_get_args(self);
struct session *s = item->target.s;
struct winlink *wl = item->target.wl;
@@ -87,7 +87,7 @@ static void
cmd_list_panes_window(struct cmd *self, struct session *s, struct winlink *wl,
struct cmdq_item *item, int type)
{
- struct args *args = self->args;
+ struct args *args = cmd_get_args(self);
struct window_pane *wp;
u_int n;
struct format_tree *ft;