[BACK]Return to cmd.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/cmd.c between version 1.70 and 1.71

version 1.70, 2012/09/03 09:57:57 version 1.71, 2012/09/24 13:05:10
Line 1298 
Line 1298 
                 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 && s->curw != NULL)                  else if (ctx->curclient != NULL && s->curw != NULL)
                         root = get_proc_cwd(s->curw->window->active->pid);                          root = get_proc_cwd(s->curw->window->active->fd);
                 else                  else
                         return (s->cwd);                          return (s->cwd);
                 skip = 0;                  skip = 0;

Legend:
Removed from v.1.70  
changed lines
  Added in v.1.71