[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.98 and 1.99

version 1.98, 2017/01/28 16:11:27 version 1.99, 2017/02/03 11:57:27
Line 139 
Line 139 
   
         /* Get the new session working directory. */          /* Get the new session working directory. */
         if (args_has(args, 'c')) {          if (args_has(args, 'c')) {
                 ft = format_create(item, 0);                  ft = format_create(item, FORMAT_NONE, 0);
                 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);
Line 298 
Line 298 
                 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(item, 0);                  ft = format_create(item, FORMAT_NONE, 0);
                 format_defaults(ft, c, s, NULL, NULL);                  format_defaults(ft, c, s, NULL, NULL);
   
                 cp = format_expand(ft, template);                  cp = format_expand(ft, template);

Legend:
Removed from v.1.98  
changed lines
  Added in v.1.99