1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-20 05:23:51 +00:00

fixed string parsing

This commit is contained in:
Marc Zinnschlag 2013-08-22 15:22:39 +02:00
parent f615a9397b
commit 63b1df85e7

View file

@ -113,6 +113,9 @@ CSMFilter::Token CSMFilter::Parser::getStringToken()
error(); error();
return Token (Token::Type_None); return Token (Token::Type_None);
} }
if (string[0]=='"')
string = string.substr (1, string.size()-2);
} }
return checkKeywords (string); return checkKeywords (string);