[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.278 and 1.279

version 1.278, 2021/02/26 07:53:26 version 1.279, 2021/02/26 21:53:41
Line 4696 
Line 4696 
         if (c != NULL && s != NULL && c->session != s)          if (c != NULL && s != NULL && c->session != s)
                 log_debug("%s: session does not match", __func__);                  log_debug("%s: session does not match", __func__);
   
         if (s != NULL)          if (wp != NULL)
                 ft->type = FORMAT_TYPE_SESSION;                  ft->type = FORMAT_TYPE_PANE;
         else if (wl != NULL)          else if (wl != NULL)
                 ft->type = FORMAT_TYPE_WINDOW;                  ft->type = FORMAT_TYPE_WINDOW;
         else if (wp != NULL)          else if (s != NULL)
                 ft->type = FORMAT_TYPE_PANE;                  ft->type = FORMAT_TYPE_SESSION;
         else          else
                 ft->type = FORMAT_TYPE_UNKNOWN;                  ft->type = FORMAT_TYPE_UNKNOWN;
   

Legend:
Removed from v.1.278  
changed lines
  Added in v.1.279