From 5f9d54f4daa75b9f5fd6da64bd659cc9c525e20a Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Fri, 16 Feb 2018 18:50:06 +0000 Subject: [PATCH] stand/lua: Use escaped dot instead of single character class --- stand/lua/screen.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)