Correctly strip the separator character when loading plain-text files

This commit is contained in:
Thomas Goyne 2013-06-26 11:26:16 -07:00
parent b3ff6a854d
commit 5199923a66
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}
}