From 45726bea3c46728cc107d39d72965311b7de8d45 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Mon, 23 Dec 2013 11:46:52 -0800 Subject: [PATCH] Fix loading automation script names from subtitle files --- aegisub/src/auto4_base.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/auto4_base.cpp b/aegisub/src/auto4_base.cpp index b8f9f2b5b..9f004bf50 100644 --- a/aegisub/src/auto4_base.cpp +++ b/aegisub/src/auto4_base.cpp @@ -396,7 +396,7 @@ namespace Automation4 { for (auto const& cur : boost::tokenizer>(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 == '~') {