From e538d4adae2b17ad177f340091a241d212b2b5c1 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 7 Jul 2009 07:01:10 +0000 Subject: [PATCH] The fix for default-path (use target session options instead of global options) is required here as well, doh. --- cmd-split-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd-split-window.c b/cmd-split-window.c index 28f42b64..a46b23a5 100644 --- a/cmd-split-window.c +++ b/cmd-split-window.c @@ -154,7 +154,7 @@ cmd_split_window_exec(struct cmd *self, struct cmd_ctx *ctx) if (cmd == NULL) cmd = options_get_string(&s->options, "default-command"); if (ctx->cmdclient == NULL || ctx->cmdclient->cwd == NULL) - cwd = options_get_string(&global_options, "default-path"); + cwd = options_get_string(&s->options, "default-path"); else cwd = ctx->cmdclient->cwd;