summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/lpdf-epa.lmt
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/lpdf-epa.lmt')
-rw-r--r--tex/context/base/mkxl/lpdf-epa.lmt5
1 files changed, 2 insertions, 3 deletions
diff --git a/tex/context/base/mkxl/lpdf-epa.lmt b/tex/context/base/mkxl/lpdf-epa.lmt
index b37e9c043..98f59e93e 100644
--- a/tex/context/base/mkxl/lpdf-epa.lmt
+++ b/tex/context/base/mkxl/lpdf-epa.lmt
@@ -17,7 +17,6 @@ local concat, merged = table.concat, table.merged
local abs = math.abs
local expandname = file.expandname
local allocate = utilities.storage.allocate
-local bor, band = bit32.bor, bit32.band
local isfile = lfs.isfile
local trace_links = false trackers.register("figures.links", function(v) trace_links = v end)
@@ -548,7 +547,7 @@ local annotationflags = lpdf.flags.annotations
local function copyF(v,lock) -- todo: bxor 24
if lock then
- v = bor(v or 0,annotationflags.ReadOnly + annotationflags.Locked + annotationflags.LockedContents)
+ v = (v or 0) | (annotationflags.ReadOnly + annotationflags.Locked + annotationflags.LockedContents)
end
if v then
return pdfcopyinteger(v)
@@ -715,7 +714,7 @@ local function flagstoset(flag,flags)
local t = { }
if flags then
for k, v in next, flags do
- if band(flag,v) ~= 0 then
+ if (flag & v) ~= 0 then
t[k] = true
end
end