summaryrefslogtreecommitdiff
path: root/tex/context/base/util-str.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2014-09-18 11:17:00 +0200
committerHans Hagen <pragma@wxs.nl>2014-09-18 11:17:00 +0200
commitea8cd771135d573fee6529e62e08468e79b12eab (patch)
treed2f7102bac47807fd3a0cbfeb02a0bb2f6f13a30 /tex/context/base/util-str.lua
parent02d4d3cbde5e1e94e056cdf3b732145a37413fdb (diff)
downloadcontext-ea8cd771135d573fee6529e62e08468e79b12eab.tar.gz
beta 2014.09.18 11:17
Diffstat (limited to 'tex/context/base/util-str.lua')
-rw-r--r--tex/context/base/util-str.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/util-str.lua b/tex/context/base/util-str.lua
index fd6fc4d91..8529c3ad0 100644
--- a/tex/context/base/util-str.lua
+++ b/tex/context/base/util-str.lua
@@ -537,7 +537,7 @@ end
-- We could probably use just %s with integers but who knows what Lua 5.3 will do? So let's
-- for the moment use %i.
-local format_F = function() -- beware, no cast to number
+local format_F = function(f) -- beware, no cast to number
n = n + 1
if not f or f == "" then
return format("(((a%s > -0.0000000005 and a%s < 0.0000000005) and '0') or format((a%s %% 1 == 0) and '%%i' or '%%.9f',a%s))",n,n,n,n)