Fix loading automation script names from subtitle files

This commit is contained in:
Thomas Goyne 2013-12-23 11:46:52 -08:00
parent 22e4a8bd58
commit 45726bea3c
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ namespace Automation4 {
for (auto const& cur : boost::tokenizer<boost::char_separator<char>>(local_scripts, sep)) {
auto trimmed = boost::trim_copy(cur);
char first_char = trimmed[0];
trimmed.erase(0);
trimmed.erase(0, 1);
agi::fs::path basepath;
if (first_char == '~') {