summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/mlib-scn.lmt
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2021-05-06 23:50:45 +0200
committerContext Git Mirror Bot <phg@phi-gamma.net>2021-05-06 23:50:45 +0200
commita2ebcf294b4f2b10a3ecef1d1d3c7de7694c498c (patch)
treee8ab07688ae40a3999caa3a9ca75beba1c827449 /tex/context/base/mkxl/mlib-scn.lmt
parent52c91dd191d7bd30d41aaf259480ee862160a251 (diff)
downloadcontext-a2ebcf294b4f2b10a3ecef1d1d3c7de7694c498c.tar.gz
2021-05-06 23:34:00
Diffstat (limited to 'tex/context/base/mkxl/mlib-scn.lmt')
-rw-r--r--tex/context/base/mkxl/mlib-scn.lmt11
1 files changed, 5 insertions, 6 deletions
diff --git a/tex/context/base/mkxl/mlib-scn.lmt b/tex/context/base/mkxl/mlib-scn.lmt
index 786ec2631..0a0e96105 100644
--- a/tex/context/base/mkxl/mlib-scn.lmt
+++ b/tex/context/base/mkxl/mlib-scn.lmt
@@ -398,12 +398,11 @@ local function getparameter()
end
v = vl
end
--- if v == nil then
--- return injectnumeric(0)
--- else
--- return get(v)
--- end
- return v or 0
+ if v == nil then
+ return 0
+ else
+ return v
+ end
end
local function hasparameter()