mirror of https://github.com/odrling/Aegisub
Split ass drawings on spaces, not |
This commit is contained in:
parent
1a8c88faea
commit
e9a949954f
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in New Issue