From 6da6f1bc571947581a7e98b2f105056a98ecd6b6 Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Fri, 2 Feb 2007 01:01:12 +0000 Subject: [PATCH] Fix stupid syntax errors Originally committed to SVN as r920. --- automation/include/karaskel.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/automation/include/karaskel.lua b/automation/include/karaskel.lua index e8ad21488..e7412d14c 100644 --- a/automation/include/karaskel.lua +++ b/automation/include/karaskel.lua @@ -98,7 +98,7 @@ function karaskel.preproc_line(subs, meta, styles, line) if styles[line.style] then line.style = styles[line.style] else - aegisub.debug.out("WARNING: Style not found: " .. line.style .. "\n" + aegisub.debug.out("WARNING: Style not found: " .. line.style .. "\n") line.style = styles[1] end @@ -130,16 +130,16 @@ function karaskel.preproc_line(subs, meta, styles, line) local prefix = furitext:sub(1,unicode.charwidth(furitext,1)) if prefix == "!" or prefix == "!" then - furi.break = true + furi.isbreak = true furi.spillback = false elseif prefix == "<" or prefix == "<" then - furi.break = true + furi.isbreak = true furi.spillback = true else - furi.break = false + furi.isbreak = false furi.spillback = false end - if furi.break then + if furi.isbreak then furitext = furitext:sub(unicode.charwidth(furitext,1)+1) end