Author: kevans Date: Fri Feb 16 18:50:06 2018 New Revision: 329393 URL: https://svnweb.freebsd.org/changeset/base/329393
Log: stand/lua: Use escaped dot instead of single character class Modified: head/stand/lua/screen.lua Modified: head/stand/lua/screen.lua ============================================================================== --- head/stand/lua/screen.lua Fri Feb 16 18:49:50 2018 (r329392) +++ head/stand/lua/screen.lua Fri Feb 16 18:50:06 2018 (r329393) @@ -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) _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"