From adc43c3c243ed95215af6fe02d71e393c178da23 Mon Sep 17 00:00:00 2001 From: Context Git Mirror Bot Date: Thu, 19 Nov 2015 20:15:06 +0100 Subject: 2015-11-19 19:15:00 --- tex/context/base/typo-chr.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tex/context/base/typo-chr.lua') diff --git a/tex/context/base/typo-chr.lua b/tex/context/base/typo-chr.lua index 00123ede3..041a73e1b 100644 --- a/tex/context/base/typo-chr.lua +++ b/tex/context/base/typo-chr.lua @@ -89,10 +89,9 @@ if not modules then modules = { } end modules ['typo-chr'] = { local insert, remove = table.insert, table.remove local nodecodes = nodes.nodecodes -local whatsitcodes = nodes.whatsitcodes local glyph_code = nodecodes.glyph local whatsit_code = nodecodes.whatsit -local localpar_code = nodecodes.localpar or whatsitcodes.localpar +local localpar_code = nodecodes.localpar local texnest = tex.nest local free_node = node.free @@ -172,7 +171,7 @@ local function pickup(head,tail,str) local prev = first.prev if prev and prev[a_marked] == attr then local id = prev.id - if (id == localpar_code) or (id == whatsit_code and prev.subtype == localpar_code) then + if id == localpar_code then break else first = prev -- cgit v1.2.3