Split ass drawings on spaces, not |

This commit is contained in:
Thomas Goyne 2013-02-08 20:29:39 -08:00
parent 1a8c88faea
commit e9a949954f
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ void Spline::DecodeFromAss(std::string const& str) {
Vector2D pt(0, 0); Vector2D pt(0, 0);
// Tokenize the string // Tokenize the string
boost::char_separator<char> sep("|"); boost::char_separator<char> sep(" ");
for (auto const& token : boost::tokenizer<boost::char_separator<char>>(str, sep)) { for (auto const& token : boost::tokenizer<boost::char_separator<char>>(str, sep)) {
double n; double n;
if (agi::util::try_parse(token, &n)) { if (agi::util::try_parse(token, &n)) {