mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
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…
x
Reference in New Issue
Block a user