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

Diff for /src/usr.bin/tmux/cmd.c between version 1.28 and 1.29

version 1.28, 2009/11/02 16:24:29 version 1.29, 2009/11/03 20:29:47
Line 362 
Line 362 
                 if ((s = ARRAY_ITEM(ss, i)) == NULL)                  if ((s = ARRAY_ITEM(ss, i)) == NULL)
                         continue;                          continue;
   
                 if (tv == NULL || timercmp(&s->tv, tv, >)) {                  if (tv == NULL || timercmp(&s->creation_time, tv, >)) {
                         snewest = s;                          snewest = s;
                         tv = &s->tv;                          tv = &s->creation_time;
                 }                  }
         }          }
   
Line 386 
Line 386 
                 if (c->session == NULL)                  if (c->session == NULL)
                         continue;                          continue;
   
                 if (tv == NULL || timercmp(&c->tv, tv, >)) {                  if (tv == NULL || timercmp(&c->creation_time, tv, >)) {
                         cnewest = c;                          cnewest = c;
                         tv = &c->tv;                          tv = &c->creation_time;
                 }                  }
         }          }
   

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29