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

Diff for /src/usr.bin/tmux/cmd-split-window.c between version 1.19 and 1.20

version 1.19, 2010/01/07 20:52:18 version 1.20, 2010/06/27 02:56:59
Line 170 
Line 170 
         cmd = data->cmd;          cmd = data->cmd;
         if (cmd == NULL)          if (cmd == NULL)
                 cmd = options_get_string(&s->options, "default-command");                  cmd = options_get_string(&s->options, "default-command");
         if (ctx->cmdclient == NULL || ctx->cmdclient->cwd == NULL)          cwd = options_get_string(&s->options, "default-path");
                 cwd = options_get_string(&s->options, "default-path");          if (*cwd == '\0') {
         else                  if (ctx->cmdclient != NULL && ctx->cmdclient->cwd != NULL)
                 cwd = ctx->cmdclient->cwd;                          cwd = ctx->cmdclient->cwd;
                   else
                           cwd = s->cwd;
           }
   
         type = LAYOUT_TOPBOTTOM;          type = LAYOUT_TOPBOTTOM;
         if (data->flag_horizontal)          if (data->flag_horizontal)

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20