mirror of
https://github.com/minetest-mods/digilines.git
synced 2024-09-27 22:30:22 +02:00
Fix LuaCheck warning
This commit is contained in:
parent
dc6cc0b04a
commit
09e47818e4
4
lcd.lua
4
lcd.lua
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user