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

Diff for /src/usr.bin/tmux/window.c between version 1.187 and 1.188

version 1.187, 2017/03/21 09:49:10 version 1.188, 2017/04/20 09:39:07
Line 710 
Line 710 
 }  }
   
 /* Retuns the printable flags on a window, empty string if no flags set. */  /* Retuns the printable flags on a window, empty string if no flags set. */
 char *  const char *
 window_printable_flags(struct session *s, struct winlink *wl)  window_printable_flags(struct session *s, struct winlink *wl)
 {  {
         char    flags[32];          static char     flags[32];
         int     pos;          int             pos;
   
         pos = 0;          pos = 0;
         if (wl->flags & WINLINK_ACTIVITY)          if (wl->flags & WINLINK_ACTIVITY)
Line 732 
Line 732 
         if (wl->window->flags & WINDOW_ZOOMED)          if (wl->window->flags & WINDOW_ZOOMED)
                 flags[pos++] = 'Z';                  flags[pos++] = 'Z';
         flags[pos] = '\0';          flags[pos] = '\0';
         return (xstrdup(flags));          return (flags);
 }  }
   
 struct window_pane *  struct window_pane *

Legend:
Removed from v.1.187  
changed lines
  Added in v.1.188