diff options
Diffstat (limited to 'cmd.c')
-rw-r--r-- | cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1297,7 +1297,7 @@ cmd_get_default_path(struct cmd_ctx *ctx, const char *cwd) if (ctx->cmdclient != NULL && ctx->cmdclient->cwd != NULL) root = ctx->cmdclient->cwd; else if (ctx->curclient != NULL && s->curw != NULL) - root = osdep_get_cwd(s->curw->window->active->pid); + root = osdep_get_cwd(s->curw->window->active->fd); else return (s->cwd); skip = 0; |