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

Diff for /src/usr.bin/tmux/cmd-list-windows.c between version 1.42 and 1.43

version 1.42, 2017/04/22 10:22:39 version 1.43, 2017/05/01 12:20:55
Line 86 
Line 86 
 {  {
         struct args             *args = self->args;          struct args             *args = self->args;
         struct winlink          *wl;          struct winlink          *wl;
         u_int                   n;          u_int                    n;
         struct format_tree      *ft;          struct format_tree      *ft;
         const char              *template;          const char              *template;
         char                    *line;          char                    *line;
Line 105 
Line 105 
   
         n = 0;          n = 0;
         RB_FOREACH(wl, winlinks, &s->windows) {          RB_FOREACH(wl, winlinks, &s->windows) {
                 ft = format_create(item, FORMAT_NONE, 0);                  ft = format_create(item->client, item, FORMAT_NONE, 0);
                 format_add(ft, "line", "%u", n);                  format_add(ft, "line", "%u", n);
                 format_defaults(ft, NULL, s, wl, NULL);                  format_defaults(ft, NULL, s, wl, NULL);
   

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43