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

Diff for /src/usr.bin/tmux/layout-custom.c between version 1.3 and 1.4

version 1.3, 2012/01/30 20:57:02 version 1.4, 2012/02/05 22:23:13
Line 207 
Line 207 
   
         if (!isdigit((u_char) **layout))          if (!isdigit((u_char) **layout))
                 return (NULL);                  return (NULL);
         if (sscanf(*layout, "%ux%u,%u,%u,%*u", &sx, &sy, &xoff, &yoff) != 5 &&          if (sscanf(*layout, "%ux%u,%u,%u,%*u", &sx, &sy, &xoff, &yoff) != 4 &&
             sscanf(*layout, "%ux%u,%u,%u", &sx, &sy, &xoff, &yoff) != 4)              sscanf(*layout, "%ux%u,%u,%u", &sx, &sy, &xoff, &yoff) != 4)
                 return (NULL);                  return (NULL);
   

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4