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

Diff for /src/usr.bin/tmux/format.c between version 1.89 and 1.90

version 1.89, 2015/10/27 09:28:31 version 1.90, 2015/10/27 15:58:42
Line 581 
Line 581 
         found = NULL;          found = NULL;
   
         if (~modifiers & FORMAT_TIMESTRING) {          if (~modifiers & FORMAT_TIMESTRING) {
                 o = options_find(&global_options, key);                  o = options_find(global_options, key);
                 if (o == NULL && ft->w != NULL)                  if (o == NULL && ft->w != NULL)
                         o = options_find(&ft->w->options, key);                          o = options_find(ft->w->options, key);
                 if (o == NULL)                  if (o == NULL)
                         o = options_find(&global_w_options, key);                          o = options_find(global_w_options, key);
                 if (o == NULL && ft->s != NULL)                  if (o == NULL && ft->s != NULL)
                         o = options_find(&ft->s->options, key);                          o = options_find(ft->s->options, key);
                 if (o == NULL)                  if (o == NULL)
                         o = options_find(&global_s_options, key);                          o = options_find(global_s_options, key);
                 if (o != NULL) {                  if (o != NULL) {
                         switch (o->type) {                          switch (o->type) {
                         case OPTIONS_STRING:                          case OPTIONS_STRING:
Line 1101 
Line 1101 
   
         format_add(ft, "pane_in_mode", "%d", wp->screen != &wp->base);          format_add(ft, "pane_in_mode", "%d", wp->screen != &wp->base);
         format_add(ft, "pane_synchronized", "%d",          format_add(ft, "pane_synchronized", "%d",
             !!options_get_number(&wp->window->options, "synchronize-panes"));              !!options_get_number(wp->window->options, "synchronize-panes"));
   
         format_add(ft, "pane_tty", "%s", wp->tty);          format_add(ft, "pane_tty", "%s", wp->tty);
         format_add(ft, "pane_pid", "%ld", (long) wp->pid);          format_add(ft, "pane_pid", "%ld", (long) wp->pid);

Legend:
Removed from v.1.89  
changed lines
  Added in v.1.90