Fix stupid syntax errors

Originally committed to SVN as r920.
This commit is contained in:
Niels Martin Hansen 2007-02-02 01:01:12 +00:00
parent b5ac82d5b2
commit 6da6f1bc57

View file

@ -98,7 +98,7 @@ function karaskel.preproc_line(subs, meta, styles, line)
if styles[line.style] then if styles[line.style] then
line.style = styles[line.style] line.style = styles[line.style]
else 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] line.style = styles[1]
end end
@ -130,16 +130,16 @@ function karaskel.preproc_line(subs, meta, styles, line)
local prefix = furitext:sub(1,unicode.charwidth(furitext,1)) local prefix = furitext:sub(1,unicode.charwidth(furitext,1))
if prefix == "!" or prefix == "" then if prefix == "!" or prefix == "" then
furi.break = true furi.isbreak = true
furi.spillback = false furi.spillback = false
elseif prefix == "<" or prefix == "" then elseif prefix == "<" or prefix == "" then
furi.break = true furi.isbreak = true
furi.spillback = true furi.spillback = true
else else
furi.break = false furi.isbreak = false
furi.spillback = false furi.spillback = false
end end
if furi.break then if furi.isbreak then
furitext = furitext:sub(unicode.charwidth(furitext,1)+1) furitext = furitext:sub(unicode.charwidth(furitext,1)+1)
end end