forked from minetest-mods/digilines
Compare commits
2 Commits
c3f1b4ef41
...
dd8432ef34
Author | SHA1 | Date | |
---|---|---|---|
dd8432ef34 | |||
af4a699e19 |
5
lcd.lua
5
lcd.lua
@ -84,9 +84,8 @@ local create_lines = function(text)
|
||||
line = word
|
||||
end
|
||||
else
|
||||
if word == " " then
|
||||
-- don't add the space since we have a line break
|
||||
else
|
||||
-- don't add the space since we have a line break
|
||||
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
|
||||
|
Reference in New Issue
Block a user