diff --git a/stand/lua/screen.lua b/stand/lua/screen.lua index e33563cc1766..eaef05a88189 100644 --- a/stand/lua/screen.lua +++ b/stand/lua/screen.lua @@ -34,7 +34,7 @@ local core = require("core"); -- XXX TODO: This should be fixed in the interpreter to not print decimals function intstring(num) local str = tostring(num) - local decimal = string.find(str, "[.]") + local decimal = string.find(str, "%.") if decimal then return string.sub(str, 1, decimal - 1)