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
1 changed files with 1 additions and 3 deletions

View File

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