Fix wrapped lines not drawing.

This commit is contained in:
Diego Martinez 2014-06-04 05:35:46 -03:00
parent c15c0f06ef
commit cf6e079044

View File

@ -341,6 +341,7 @@ local function make_line_texture(line, lineno)
ypos = ypos + LINE_HEIGHT ypos = ypos + LINE_HEIGHT
lineno = lineno + 1 lineno = lineno + 1
if lineno >= NUMBER_OF_LINES then break end if lineno >= NUMBER_OF_LINES then break end
table.insert(texture, fill_line(xpos, ypos, maxw, cur_color))
end end
for ch_i, ch in ipairs(word.chars) do for ch_i, ch in ipairs(word.chars) do
if ch.col ~= cur_color then if ch.col ~= cur_color then