summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/typo-fln.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2017-01-27 16:14:16 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2017-01-27 16:14:16 +0100
commit95a1799032dc61dbca4a11e495be34b4397c8fec (patch)
tree4b24bf117a90ba704dedf19ab1b1a734d78f4e45 /tex/context/base/mkiv/typo-fln.lua
parent0cfeab235554eeee0dddd6c3f44d3939ab490ff1 (diff)
downloadcontext-95a1799032dc61dbca4a11e495be34b4397c8fec.tar.gz
2017-01-27 14:46:00
Diffstat (limited to 'tex/context/base/mkiv/typo-fln.lua')
-rw-r--r--tex/context/base/mkiv/typo-fln.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/mkiv/typo-fln.lua b/tex/context/base/mkiv/typo-fln.lua
index bd6d749cc..fcd9b2c1f 100644
--- a/tex/context/base/mkiv/typo-fln.lua
+++ b/tex/context/base/mkiv/typo-fln.lua
@@ -44,7 +44,6 @@ local setattr = nuts.setattr
local getbox = nuts.getbox
local getdisc = nuts.getdisc
local setdisc = nuts.setdisc
-local getdimensions = nuts.dimensions
local setlink = nuts.setlink
local nodecodes = nodes.nodecodes
@@ -58,6 +57,7 @@ local flush_node = nuts.flush_node
local copy_node_list = nuts.copy_list
local insert_node_after = nuts.insert_after
local remove_node = nuts.remove
+local list_dimensions = nuts.dimensions
local nodepool = nuts.pool
local newpenalty = nodepool.penalty
@@ -163,9 +163,9 @@ actions[v_line] = function(head,setting)
end
local function try(extra)
- local width = getdimensions(list,start)
+ local width = list_dimensions(list,start)
if extra then
- width = width + getdimensions(extra)
+ width = width + list_dimensions(extra)
end
if width > hsize then
list = prev