From f3c9b2ca794976a65236d0a3ca714b56b77050f6 Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Sun, 17 Jun 2007 20:42:42 +0000 Subject: [PATCH] run_template_code and run_code_template is not the same thing... Originally committed to SVN as r1238. --- automation/autoload/kara-templater.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automation/autoload/kara-templater.lua b/automation/autoload/kara-templater.lua index 4b1aae9a7..a114f244c 100644 --- a/automation/autoload/kara-templater.lua +++ b/automation/autoload/kara-templater.lua @@ -301,7 +301,7 @@ function apply_templates(meta, styles, subs, templates) -- run all run-once code snippets for k, t in pairs(templates.once) do assert(t.code, "WTF, a 'once' template without code?") - run_template_code(t, tenv) + run_code_template(t, tenv) end -- start processing lines @@ -429,7 +429,7 @@ function apply_line(meta, styles, subs, line, templates, tenv) for t in matching_templates(templates.line, line) do if t.code then aegisub.debug.out(5, "Code template, %s\n", t.code) - run_template_code(t, tenv) + run_code_template(t, tenv) else aegisub.debug.out(5, "Line template, pre = '%s', t = '%s'\n", t.pre, t.t) applied_templates = true