diff options
Diffstat (limited to 'tex/context/base/mkxl/trac-vis.lmt')
-rw-r--r-- | tex/context/base/mkxl/trac-vis.lmt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tex/context/base/mkxl/trac-vis.lmt b/tex/context/base/mkxl/trac-vis.lmt index 3300d2f75..38078f08d 100644 --- a/tex/context/base/mkxl/trac-vis.lmt +++ b/tex/context/base/mkxl/trac-vis.lmt @@ -277,7 +277,11 @@ local function setvisual(n,a,what,list) -- this will become more efficient when end end elseif type(n) == "number" then - a = a | n + if not a or a == 0 or a == unsetvalue then + a = n + else + a = a | n + end end if not a or a == 0 or a == unsetvalue then return unsetvalue |