mirror of https://github.com/odrling/Aegisub
Correctly strip the separator character when loading plain-text files
This commit is contained in:
parent
b3ff6a854d
commit
5199923a66
|
@ -105,7 +105,7 @@ void TXTSubtitleFormat::ReadFile(AssFile *target, agi::fs::path const& filename,
|
|||
if (pos != std::string::npos) {
|
||||
actor = value.substr(0, pos);
|
||||
boost::trim(actor);
|
||||
value.erase(0, pos);
|
||||
value.erase(0, pos + 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue