The fix for default-path (use target session options instead of global options)

is required here as well, doh.
pull/1/head
Nicholas Marriott 2009-07-07 07:01:10 +00:00
parent eb424cf63d
commit e538d4adae
1 changed files with 1 additions and 1 deletions

View File

@ -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;