Enlarging the token string to be 50 chars instead of 15 to accomodate

the longer prman tag keywords.
This commit is contained in:
Manuel Kraemer 2012-06-13 08:18:25 -07:00
parent 287bd6d629
commit b8cfe4b0bb

View File

@ -125,7 +125,7 @@ shape::tag * shape::tag::parseTag(char const * line) {
const char* cp = &line[2]; const char* cp = &line[2];
char name[15]; char name[50];
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++;