Fix LuaCheck warning

This commit is contained in:
David Leal 2021-01-17 11:12:39 -06:00
parent dc6cc0b04a
commit 09e47818e4
No known key found for this signature in database
GPG Key ID: 3C482B03FD220E68

View File

@ -84,9 +84,7 @@ local create_lines = function(text)
line = word line = word
end end
else else
if word == " " then if word ~= " " then
-- don't add the space since we have a line break
else
if line_len > 0 then if line_len > 0 then
-- ok, we need the new line -- ok, we need the new line
if flush_line_and_check_for_return() then return tab end if flush_line_and_check_for_return() then return tab end