summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/font-ots.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2017-07-30 00:12:09 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2017-07-30 00:12:09 +0200
commit488dc02c27841eced466d9b6594666c923fef649 (patch)
tree4f47b6abe28679284a27f6edcfa1f4e7af782730 /tex/context/base/mkiv/font-ots.lua
parentc6715fb7e284831f7172cbac1df945f63c0abbed (diff)
downloadcontext-488dc02c27841eced466d9b6594666c923fef649.tar.gz
2017-07-29 23:14:00
Diffstat (limited to 'tex/context/base/mkiv/font-ots.lua')
-rw-r--r--tex/context/base/mkiv/font-ots.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/font-ots.lua b/tex/context/base/mkiv/font-ots.lua
index 1c0a6c063..fa779a6af 100644
--- a/tex/context/base/mkiv/font-ots.lua
+++ b/tex/context/base/mkiv/font-ots.lua
@@ -2893,7 +2893,7 @@ local function optimized_handle_contextchain(head,start,dataset,sequence,context
local n = f + 1
last = startnext -- the second in current (first already matched)
while n <= l do
- if not last and postreplace then
+ if postreplace and not last then
last = getnext(sweepnode)
sweeptype = nil
end