mirror of https://github.com/odrling/Aegisub
Fix loading automation script names from subtitle files
This commit is contained in:
parent
6d81a91c73
commit
2b214f77dd
|
@ -396,7 +396,7 @@ namespace Automation4 {
|
||||||
for (auto const& cur : boost::tokenizer<boost::char_separator<char>>(local_scripts, sep)) {
|
for (auto const& cur : boost::tokenizer<boost::char_separator<char>>(local_scripts, sep)) {
|
||||||
auto trimmed = boost::trim_copy(cur);
|
auto trimmed = boost::trim_copy(cur);
|
||||||
char first_char = trimmed[0];
|
char first_char = trimmed[0];
|
||||||
trimmed.erase(0);
|
trimmed.erase(0, 1);
|
||||||
|
|
||||||
agi::fs::path basepath;
|
agi::fs::path basepath;
|
||||||
if (first_char == '~') {
|
if (first_char == '~') {
|
||||||
|
|
Loading…
Reference in New Issue