diff options
author | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-12-17 16:15:07 +0100 |
---|---|---|
committer | Context Git Mirror Bot <phg42.2a@gmail.com> | 2015-12-17 16:15:07 +0100 |
commit | d1faffcd5d92925a6c5e66ebb72b4c8dcfae236f (patch) | |
tree | c1663d54da8573c0541015e5a307a28e22215a8b /tex/context/base/typo-lin.lua | |
parent | adc43c3c243ed95215af6fe02d71e393c178da23 (diff) | |
download | context-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.lua | 8 |
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 |