From c9e26c0cf3d78008dd9db0b74906ed3ad532104c Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Thu, 4 Oct 2007 23:30:52 +0000 Subject: [PATCH] Bugfix: Anonymous line templates that did not have any additional template modifiers were treated as named line templates whose name was the empty string, causing such templates to be chained as one long line template. Originally committed to SVN as r1595. --- automation/autoload/kara-templater.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/automation/autoload/kara-templater.lua b/automation/autoload/kara-templater.lua index fe244221e..01552833f 100644 --- a/automation/autoload/kara-templater.lua +++ b/automation/autoload/kara-templater.lua @@ -154,6 +154,9 @@ function parse_template(meta, styles, line, templates, mods) break end end + if id == "" then + id = nil + end if id then rest = t end