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

Diff for /src/usr.bin/tmux/status.c between version 1.79 and 1.80

version 1.79, 2011/11/05 09:06:31 version 1.80, 2011/11/15 23:19:51
Line 372 
Line 372 
         char    ch, tmp[256], *ptr, *endptr, *freeptr;          char    ch, tmp[256], *ptr, *endptr, *freeptr;
         size_t  ptrlen;          size_t  ptrlen;
         long    limit;          long    limit;
           u_int   idx;
   
         if (s == NULL)          if (s == NULL)
                 s = c->session;                  s = c->session;
Line 422 
Line 423 
                 ptr = tmp;                  ptr = tmp;
                 goto do_replace;                  goto do_replace;
         case 'P':          case 'P':
                   if (window_pane_index(wp, &idx) != 0)
                           fatalx("index not found");
                 xsnprintf(                  xsnprintf(
                     tmp, sizeof tmp, "%u", window_pane_index(wl->window, wp));                      tmp, sizeof tmp, "%u", idx);
                 ptr = tmp;                  ptr = tmp;
                 goto do_replace;                  goto do_replace;
         case 'S':          case 'S':

Legend:
Removed from v.1.79  
changed lines
  Added in v.1.80