forked from mia/Aegisub
Fix loading automation script names from subtitle files
This commit is contained in:
parent
22e4a8bd58
commit
45726bea3c
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue