summaryrefslogtreecommitdiff
path: root/tex/context/base/typo-chr.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/typo-chr.lua')
-rw-r--r--tex/context/base/typo-chr.lua5
1 files changed, 2 insertions, 3 deletions
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