[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.76 and 1.77

version 1.76, 2016/10/16 22:06:40 version 1.77, 2017/02/03 11:57:27
Line 92 
Line 92 
   
         to_free = NULL;          to_free = NULL;
         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, item->state.c, s, NULL, NULL);                  format_defaults(ft, item->state.c, s, 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 169 
Line 169 
                 if ((template = args_get(args, 'F')) == NULL)                  if ((template = args_get(args, 'F')) == NULL)
                         template = SPLIT_WINDOW_TEMPLATE;                          template = SPLIT_WINDOW_TEMPLATE;
   
                 ft = format_create(item, 0);                  ft = format_create(item, FORMAT_NONE, 0);
                 format_defaults(ft, item->state.c, s, wl, new_wp);                  format_defaults(ft, item->state.c, s, wl, new_wp);
   
                 cp = format_expand(ft, template);                  cp = format_expand(ft, template);

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