summaryrefslogtreecommitdiffstats
path: root/cmd-new-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-new-window.c')
-rw-r--r--cmd-new-window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-new-window.c b/cmd-new-window.c
index 6cb33dd9..9a1025e9 100644
--- a/cmd-new-window.c
+++ b/cmd-new-window.c
@@ -72,6 +72,7 @@ cmd_new_window_exec(struct cmd *self, struct cmdq_item *item)
memset(&sc, 0, sizeof sc);
sc.item = item;
sc.s = s;
+ sc.c = c;
sc.name = args_get(args, 'n');
sc.argc = args->argc;