diff options
author | Hans Hagen <pragma@wxs.nl> | 2019-01-28 13:43:45 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2019-01-28 13:43:45 +0100 |
commit | 8bbd1dc6d3db576e4313277ac558f8fe7e0595ef (patch) | |
tree | fe409ac17c124c50163b1af03809554b9f80b4b5 /tex/context/base/mkiv/typo-dub.lua | |
parent | 55575b7cad42dac55b4a5f699c33363489cb502d (diff) | |
download | context-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.lua | 4 |
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 |