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

Diff for /src/usr.bin/tmux/cmd-new-session.c between version 1.86 and 1.87

version 1.86, 2016/02/04 14:11:20 version 1.87, 2016/03/05 07:47:52
Line 142 
Line 142 
                 format_defaults(ft, c, NULL, NULL, NULL);                  format_defaults(ft, c, NULL, NULL, NULL);
                 to_free = cwd = format_expand(ft, args_get(args, 'c'));                  to_free = cwd = format_expand(ft, args_get(args, 'c'));
                 format_free(ft);                  format_free(ft);
         } else if (c != NULL && c->session == NULL)          } else if (c != NULL && c->session == NULL && c->cwd != NULL)
                 cwd = c->cwd;                  cwd = c->cwd;
         else          else
                 cwd = ".";                  cwd = ".";

Legend:
Removed from v.1.86  
changed lines
  Added in v.1.87