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

Diff for /src/usr.bin/tmux/names.c between version 1.4 and 1.5

version 1.4, 2009/07/08 05:26:45 version 1.5, 2009/08/18 21:18:20
Line 42 
Line 42 
                 w = ARRAY_ITEM(&windows, i);                  w = ARRAY_ITEM(&windows, i);
                 if (w == NULL || w->active == NULL)                  if (w == NULL || w->active == NULL)
                         continue;                          continue;
                 if (!options_get_number(&w->options, "automatic-rename"))  
                         continue;  
   
                 if (timercmp(&tv, &w->name_timer, <))                  if (timercmp(&tv, &w->name_timer, <))
                         continue;                          continue;
Line 51 
Line 49 
                 tv2.tv_sec = 0;                  tv2.tv_sec = 0;
                 tv2.tv_usec = NAME_INTERVAL * 1000L;                  tv2.tv_usec = NAME_INTERVAL * 1000L;
                 timeradd(&w->name_timer, &tv2, &w->name_timer);                  timeradd(&w->name_timer, &tv2, &w->name_timer);
   
                   if (!options_get_number(&w->options, "automatic-rename"))
                           continue;
   
                 if (w->active->screen != &w->active->base)                  if (w->active->screen != &w->active->base)
                         name = NULL;                          name = NULL;

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5