stats: fix line wrapping

These spaces were not displayed on screen, however they were taken into
account for line wrapping.
This commit is contained in:
Julian 2015-07-31 12:52:37 +02:00 committed by wm4
parent 6402f88de4
commit f22361727e
1 changed files with 2 additions and 2 deletions

View File

@ -156,8 +156,8 @@ function add_header(s)
if o.custom_header and o.custom_header ~= "" then
s.header = set_ASS(true) .. o.custom_header
else
s.header = string.format([[%s{\\fs%d}{\\fn%s}{\\bord%f}{\\3c&H%s&}{\\1c&H%s&}
{\\alpha&H%s&}{\\xshad%f}{\\yshad%f}{\\4c&H%s&}]],
s.header = string.format("%s{\\fs%d}{\\fn%s}{\\bord%f}{\\3c&H%s&}{\\1c&H%s&}" ..
"{\\alpha&H%s&}{\\xshad%f}{\\yshad%f}{\\4c&H%s&}",
set_ASS(true), o.font_size, o.font, o.border_size,
o.border_color, o.font_color, o.alpha, o.shadow_x_offset,
o.shadow_y_offset, o.shadow_color)