Fix LuaCheck warning (#69)

This commit is contained in:
David Leal 2021-01-24 03:42:01 -06:00 committed by GitHub
parent ff525c09a4
commit af4a699e19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -84,9 +84,8 @@ local create_lines = function(text)
line = word line = word
end end
else else
if word == " " then -- don't add the space since we have a line break
-- don't add the space since we have a line break if word ~= " " then
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