[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.73 and 1.74

version 1.73, 2015/06/15 10:58:01 version 1.74, 2015/06/18 23:55:24
Line 338 
Line 338 
                 case OPTIONS_STRING:                  case OPTIONS_STRING:
                         return (o->str);                          return (o->str);
                 case OPTIONS_NUMBER:                  case OPTIONS_NUMBER:
                         snprintf(s, sizeof s, "%lld", o->num);                          xsnprintf(s, sizeof s, "%lld", o->num);
                         return (s);                          return (s);
                 case OPTIONS_STYLE:                  case OPTIONS_STYLE:
                         return (style_tostring(&o->style));                          return (style_tostring(&o->style));
Line 679 
Line 679 
         RB_FOREACH (wl, winlinks, &s->windows) {          RB_FOREACH (wl, winlinks, &s->windows) {
                 if ((wl->flags & WINLINK_ALERTFLAGS) == 0)                  if ((wl->flags & WINLINK_ALERTFLAGS) == 0)
                         continue;                          continue;
                 snprintf(tmp, sizeof tmp, "%u", wl->idx);                  xsnprintf(tmp, sizeof tmp, "%u", wl->idx);
   
                 if (*alerts != '\0')                  if (*alerts != '\0')
                         strlcat(alerts, ",", sizeof alerts);                          strlcat(alerts, ",", sizeof alerts);

Legend:
Removed from v.1.73  
changed lines
  Added in v.1.74