[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.51 and 1.52

version 1.51, 2014/10/25 08:47:04 version 1.52, 2014/11/08 12:50:38
Line 236 
Line 236 
                 *ptr = '\0';                  *ptr = '\0';
   
                 value = format_find(ft, copy + 1);                  value = format_find(ft, copy + 1);
                 if (value != NULL && (value[0] != '0' || value[1] != '\0')) {                  if (value != NULL && *value != '\0' &&
                       (value[0] != '0' || value[1] != '\0')) {
                         value = ptr + 1;                          value = ptr + 1;
                         ptr = strchr(value, ',');                          ptr = strchr(value, ',');
                         if (ptr == NULL)                          if (ptr == NULL)

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.52