mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
fixed string parsing
This commit is contained in:
parent
f615a9397b
commit
63b1df85e7
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user