Correctly strip the separator character when loading plain-text files
This commit is contained in:
parent
b3ff6a854d
commit
5199923a66
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue