summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/math-act.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2017-10-05 17:04:18 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2017-10-05 17:04:18 +0200
commit6359695c65028baeb2296bd4b2e0c41a34dd8f0e (patch)
tree95fe600e7e858e0fc10cf4028bb6a8c7906ef41e /tex/context/base/mkiv/math-act.lua
parent318b6f5f9f606d1fa45c1f23564478475fa1fc4c (diff)
downloadcontext-6359695c65028baeb2296bd4b2e0c41a34dd8f0e.tar.gz
2017-10-05 16:30:00
Diffstat (limited to 'tex/context/base/mkiv/math-act.lua')
-rw-r--r--tex/context/base/mkiv/math-act.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/math-act.lua b/tex/context/base/mkiv/math-act.lua
index 826669a3d..5d33031cf 100644
--- a/tex/context/base/mkiv/math-act.lua
+++ b/tex/context/base/mkiv/math-act.lua
@@ -177,9 +177,9 @@ local function applytweaks(when,target,original)
local goodie = goodies[i]
local mathematics = goodie.mathematics
local tweaks = mathematics and mathematics.tweaks
- if tweaks then
+ if type(tweaks) == "table" then
tweaks = tweaks[when]
- if tweaks then
+ if type(tweaks) == "table" then
if trace_defining then
report_math("tweaking math of %a @ %p (%s)",target.properties.fullname,target.parameters.size,when)
end