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

Diff for /src/usr.bin/tmux/menu.c between version 1.23 and 1.24

version 1.23, 2020/04/16 17:20:23 version 1.24, 2020/05/16 14:53:23
Line 73 
Line 73 
                 return;                  return;
   
         if (fs != NULL)          if (fs != NULL)
                 s = format_single(qitem, item->name, c, fs->s, fs->wl, fs->wp);                  s = format_single_from_state(qitem, item->name, c, fs);
         else          else
                 s = format_single(qitem, item->name, c, NULL, NULL, NULL);                  s = format_single(qitem, item->name, c, NULL, NULL, NULL);
         if (*s == '\0') { /* no item if empty after format expanded */          if (*s == '\0') { /* no item if empty after format expanded */
Line 91 
Line 91 
         cmd = item->command;          cmd = item->command;
         if (cmd != NULL) {          if (cmd != NULL) {
                 if (fs != NULL)                  if (fs != NULL)
                         s = format_single(qitem, cmd, c, fs->s, fs->wl, fs->wp);                          s = format_single_from_state(qitem, cmd, c, fs);
                 else                  else
                         s = format_single(qitem, cmd, c, NULL, NULL, NULL);                          s = format_single(qitem, cmd, c, NULL, NULL, NULL);
         } else          } else

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24