From 09e47818e46a7000713b0324ca9c0578f0e7e6a6 Mon Sep 17 00:00:00 2001 From: David Leal Date: Sun, 17 Jan 2021 11:12:39 -0600 Subject: [PATCH] Fix LuaCheck warning --- lcd.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lcd.lua b/lcd.lua index 88b8e47..f655843 100644 --- a/lcd.lua +++ b/lcd.lua @@ -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