summaryrefslogtreecommitdiff
path: root/tex/context/base/typo-lin.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2015-12-17 16:15:07 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2015-12-17 16:15:07 +0100
commitd1faffcd5d92925a6c5e66ebb72b4c8dcfae236f (patch)
treec1663d54da8573c0541015e5a307a28e22215a8b /tex/context/base/typo-lin.lua
parentadc43c3c243ed95215af6fe02d71e393c178da23 (diff)
downloadcontext-d1faffcd5d92925a6c5e66ebb72b4c8dcfae236f.tar.gz
2015-12-17 15:59:00
Diffstat (limited to 'tex/context/base/typo-lin.lua')
-rw-r--r--tex/context/base/typo-lin.lua8
1 files changed, 3 insertions, 5 deletions
diff --git a/tex/context/base/typo-lin.lua b/tex/context/base/typo-lin.lua
index f9761fe64..e5b9b8d7c 100644
--- a/tex/context/base/typo-lin.lua
+++ b/tex/context/base/typo-lin.lua
@@ -180,9 +180,8 @@ local function normalize(line,islocal) -- assumes prestine lines, nothing pre/ap
if id == glue_code then
local subtype = getsubtype(head)
if subtype == leftskip_code then
- local spec = getfield(head,"spec")
- leftskip = head
- lskip = getfield(spec,"width")
+ leftskip = head
+ lskip = getfield(head,"width") or 0
end
current = getnext(head)
id = getid(current)
@@ -196,9 +195,8 @@ local function normalize(line,islocal) -- assumes prestine lines, nothing pre/ap
local id = getid(current)
if id == glue_code then
if getsubtype(current) == rightskip_code then
- local spec = getfield(current,"spec")
rightskip = tail
- rskip = getfield(spec,"width")
+ rskip = getfield(current,"width") or 0
current = getprev(tail)
id = getid(current)
end