summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/typo-dub.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-dub.lua
parent55575b7cad42dac55b4a5f699c33363489cb502d (diff)
downloadcontext-8bbd1dc6d3db576e4313277ac558f8fe7e0595ef.tar.gz
2019-01-28 12:34:00
Diffstat (limited to 'tex/context/base/mkiv/typo-dub.lua')
-rw-r--r--tex/context/base/mkiv/typo-dub.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/typo-dub.lua b/tex/context/base/mkiv/typo-dub.lua
index 1a9a91ae6..fde31ca93 100644
--- a/tex/context/base/mkiv/typo-dub.lua
+++ b/tex/context/base/mkiv/typo-dub.lua
@@ -490,7 +490,7 @@ local function resolve_explicit(list,size,baselevel)
end
-- X7
elseif direction == "pdf" then
- if nofstack < maximum_stack then
+ if nofstack > 0 then
local stacktop = stack[nofstack]
nofstack = nofstack - 1
level = stacktop[1]
@@ -499,7 +499,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