1
0
mirror of https://github.com/tmux/tmux.git synced 2025-04-26 23:18:50 +00:00

Adjust function name to the portable version.

This commit is contained in:
Tiago Cunha 2012-02-02 01:57:14 +00:00
parent 4bb01c1768
commit 0fd0030a2a

2
cmd.c
View File

@ -1304,7 +1304,7 @@ cmd_get_default_path(struct cmd_ctx *ctx, const char *cwd)
if (ctx->cmdclient != NULL && ctx->cmdclient->cwd != NULL) if (ctx->cmdclient != NULL && ctx->cmdclient->cwd != NULL)
root = ctx->cmdclient->cwd; root = ctx->cmdclient->cwd;
else if (ctx->curclient != NULL) else if (ctx->curclient != NULL)
root = get_proc_cwd(s->curw->window->active->pid); root = osdep_get_cwd(s->curw->window->active->pid);
else else
return (s->cwd); return (s->cwd);
skip = 0; skip = 0;