should only check for ending quote character in locale data if it began with a quote

This commit is contained in:
jp9000 2013-12-07 10:25:34 -07:00
parent 70290b8c2b
commit 9b882c097b

View File

@ -203,10 +203,10 @@ static void lookup_getstringtoken(struct lexer *lex, struct strref *token)
if (*token->array == '"') {
token->array++;
token->len--;
}
if (*(temp-1) == '"')
token->len--;
if (*(temp-1) == '"')
token->len--;
}
lex->offset = temp;
}