[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.77 and 1.78

version 1.77, 2015/10/31 14:51:15 version 1.78, 2015/12/08 08:34:18
Line 119 
Line 119 
         /* Get the new session working directory. */          /* Get the new session working directory. */
         to_free = NULL;          to_free = NULL;
         if (args_has(args, 'c')) {          if (args_has(args, 'c')) {
                 ft = format_create();                  ft = format_create(0);
                 format_defaults(ft, cmd_find_client(cmdq, NULL, 1), NULL, NULL,                  format_defaults(ft, cmd_find_client(cmdq, NULL, 1), NULL, NULL,
                     NULL);                      NULL);
                 to_free = cwd = format_expand(ft, args_get(args, 'c'));                  to_free = cwd = format_expand(ft, args_get(args, 'c'));
Line 283 
Line 283 
                 if ((template = args_get(args, 'F')) == NULL)                  if ((template = args_get(args, 'F')) == NULL)
                         template = NEW_SESSION_TEMPLATE;                          template = NEW_SESSION_TEMPLATE;
   
                 ft = format_create();                  ft = format_create(0);
                 format_defaults(ft, cmd_find_client(cmdq, NULL, 1), s, NULL,                  format_defaults(ft, cmd_find_client(cmdq, NULL, 1), s, NULL,
                     NULL);                      NULL);
   

Legend:
Removed from v.1.77  
changed lines
  Added in v.1.78