mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
fixed string parsing
This commit is contained in:
parent
f615a9397b
commit
63b1df85e7
1 changed files with 3 additions and 0 deletions
|
@ -113,6 +113,9 @@ CSMFilter::Token CSMFilter::Parser::getStringToken()
|
|||
error();
|
||||
return Token (Token::Type_None);
|
||||
}
|
||||
|
||||
if (string[0]=='"')
|
||||
string = string.substr (1, string.size()-2);
|
||||
}
|
||||
|
||||
return checkKeywords (string);
|
||||
|
|
Loading…
Reference in a new issue