mirror of https://github.com/odrling/Aegisub
Missed a backslash in a string, thanks Gundamn.
Originally committed to SVN as r1509.
This commit is contained in:
parent
022ac1ad51
commit
47e687900e
|
@ -35,7 +35,7 @@ end
|
||||||
|
|
||||||
function do_fx(subs, meta, line)
|
function do_fx(subs, meta, line)
|
||||||
local l = table.copy(line)
|
local l = table.copy(line)
|
||||||
l.text = string.format("{\pos(%d,%d)\\1c%s\\1a&HFF&\\3a&HFF&\\4a&HFF&\\t(0,200,\\1a&H00&\\3a&H00&\\4a&H00&)\\t(%d,%d,\\1a&HFF&\\3a&HFF&\\4a&HFF&)}%s", meta.res_x/2, line.styleref.margin_t, line.styleref.color2, line.duration+200, line.duration+400, line.text_stripped)
|
l.text = string.format("{\\pos(%d,%d)\\1c%s\\1a&HFF&\\3a&HFF&\\4a&HFF&\\t(0,200,\\1a&H00&\\3a&H00&\\4a&H00&)\\t(%d,%d,\\1a&HFF&\\3a&HFF&\\4a&HFF&)}%s", meta.res_x/2, line.styleref.margin_t, line.styleref.color2, line.duration+200, line.duration+400, line.text_stripped)
|
||||||
l.start_time = l.start_time - 200
|
l.start_time = l.start_time - 200
|
||||||
l.end_time = l.end_time + 200
|
l.end_time = l.end_time + 200
|
||||||
l.layer = 1
|
l.layer = 1
|
||||||
|
|
Loading…
Reference in New Issue