Fix wrapped lines not drawing.

This commit is contained in:
Diego Martinez 2014-06-04 05:35:46 -03:00
parent c15c0f06ef
commit cf6e079044
1 changed files with 1 additions and 0 deletions

View File

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