[BACK]Return to format.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / tmux

Diff for /src/usr.bin/tmux/format.c between version 1.240 and 1.241

version 1.240, 2020/04/13 14:46:04 version 1.241, 2020/04/13 20:51:57
Line 2429 
Line 2429 
   
 /* Expand a single string using target. */  /* Expand a single string using target. */
 char *  char *
 format_single_from_target(struct cmdq_item *item, const char *fmt,  format_single_from_target(struct cmdq_item *item, const char *fmt)
     struct client *c)  
 {  {
         struct cmd_find_state   *target = cmdq_get_target(item);          struct cmd_find_state   *target = cmdq_get_target(item);
           struct client           *tc = cmdq_get_target_client(item);
   
         return (format_single(item, fmt, c, target->s, target->wl, target->wp));          return (format_single(item, fmt, tc, target->s, target->wl, target->wp));
 }  }
   
 /* Set defaults for any of arguments that are not NULL. */  /* Set defaults for any of arguments that are not NULL. */

Legend:
Removed from v.1.240  
changed lines
  Added in v.1.241