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

Diff for /src/usr.bin/tmux/cmd-new-window.c between version 1.53 and 1.54

version 1.53, 2015/12/08 08:34:18 version 1.54, 2015/12/11 12:27:36
Line 94 
Line 94 
   
         to_free = NULL;          to_free = NULL;
         if (args_has(args, 'c')) {          if (args_has(args, 'c')) {
                 ft = format_create(0);                  ft = format_create(cmdq, 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);
                 cwd = to_free = format_expand(ft, args_get(args, 'c'));                  cwd = to_free = format_expand(ft, args_get(args, 'c'));
Line 143 
Line 143 
                 if ((template = args_get(args, 'F')) == NULL)                  if ((template = args_get(args, 'F')) == NULL)
                         template = NEW_WINDOW_TEMPLATE;                          template = NEW_WINDOW_TEMPLATE;
   
                 ft = format_create(0);                  ft = format_create(cmdq, 0);
                 format_defaults(ft, cmd_find_client(cmdq, NULL, 1), s, wl,                  format_defaults(ft, cmd_find_client(cmdq, NULL, 1), s, wl,
                     NULL);                      NULL);
   

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54