summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/typo-dua.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2019-01-28 13:43:45 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2019-01-28 13:43:45 +0100
commit8bbd1dc6d3db576e4313277ac558f8fe7e0595ef (patch)
treefe409ac17c124c50163b1af03809554b9f80b4b5 /tex/context/base/mkiv/typo-dua.lua
parent55575b7cad42dac55b4a5f699c33363489cb502d (diff)
downloadcontext-8bbd1dc6d3db576e4313277ac558f8fe7e0595ef.tar.gz
2019-01-28 12:34:00
Diffstat (limited to 'tex/context/base/mkiv/typo-dua.lua')
-rw-r--r--tex/context/base/mkiv/typo-dua.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/typo-dua.lua b/tex/context/base/mkiv/typo-dua.lua
index c4b359745..095d66eae 100644
--- a/tex/context/base/mkiv/typo-dua.lua
+++ b/tex/context/base/mkiv/typo-dua.lua
@@ -419,7 +419,7 @@ local function resolve_explicit(list,size,baselevel)
end
-- X7
elseif direction == "pdf" then
- if nofstack < maximum_stack then
+ if noifstack > 0 then
local stacktop = stack[nofstack]
nofstack = nofstack - 1
level = stacktop[1]
@@ -428,7 +428,7 @@ local function resolve_explicit(list,size,baselevel)
entry.direction = "bn"
entry.remove = true
elseif trace_directions then
- report_directions("stack overflow at position %a with direction %a",i,direction)
+ report_directions("stack underflow at position %a with direction %a",i,direction)
end
-- X6
else