diff options
author | Hans Hagen <pragma@wxs.nl> | 2013-03-19 14:27:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2013-03-19 14:27:00 +0100 |
commit | 2d5f18782ca5e9193200a19e10d33827163ef0b0 (patch) | |
tree | e9e9cd2b85963031d28e85569d53e24b327efd6b /tex/context/base/spac-chr.lua | |
parent | b4b9e98b13cad714598d2183d4156882ed5703c1 (diff) | |
download | context-2d5f18782ca5e9193200a19e10d33827163ef0b0.tar.gz |
beta 2013.03.19 14:27
Diffstat (limited to 'tex/context/base/spac-chr.lua')
-rw-r--r-- | tex/context/base/spac-chr.lua | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tex/context/base/spac-chr.lua b/tex/context/base/spac-chr.lua index f7a4e32ec..2502b1992 100644 --- a/tex/context/base/spac-chr.lua +++ b/tex/context/base/spac-chr.lua @@ -178,9 +178,9 @@ function characters.handler(head) local current = head local done = false while current do - local next = current.next local id = current.id if id == glyph_code then + local next = current.next local char = current.char local method = methods[char] if method then @@ -191,8 +191,10 @@ function characters.handler(head) head = remove_node(head,current,true) done = true end + current = next + else + current = current.next end - current = next end return head, done end |