Return to layout-custom.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.3, 2012/01/30 20:57:02 | version 1.4, 2012/02/05 22:23:13 | ||
---|---|---|---|
|
|
||
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); | ||