mirror of
https://github.com/PixarAnimationStudios/OpenSubdiv
synced 2024-12-24 16:51:09 +00:00
Revert "Enlarging the token string to be 50 chars instead of 15 to accomodate"
This reverts commit b8cfe4b0bb
.
This commit is contained in:
parent
b8cfe4b0bb
commit
4705b6dba1
@ -125,7 +125,7 @@ shape::tag * shape::tag::parseTag(char const * line) {
|
|||||||
|
|
||||||
const char* cp = &line[2];
|
const char* cp = &line[2];
|
||||||
|
|
||||||
char name[50];
|
char name[15];
|
||||||
while (*cp == ' ') cp++;
|
while (*cp == ' ') cp++;
|
||||||
if (sscanf(cp, "%s", &name )!=1) return t;
|
if (sscanf(cp, "%s", &name )!=1) return t;
|
||||||
while (*cp && *cp != ' ') cp++;
|
while (*cp && *cp != ' ') cp++;
|
||||||
|
Loading…
Reference in New Issue
Block a user