diff options
author | Hans Hagen <pragma@wxs.nl> | 2012-06-25 14:10:00 +0200 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2012-06-25 14:10:00 +0200 |
commit | c087b683dc65ab8ac92819a1de681023331fe1ab (patch) | |
tree | 5a4f65c32d4e90454d3c99672e989ce0fa2e2aa5 /tex/context/base/node-aux.lua | |
parent | 614f10aaaf6ed9b12ab2415915341f505fcb0667 (diff) | |
download | context-c087b683dc65ab8ac92819a1de681023331fe1ab.tar.gz |
beta 2012.06.25 14:10
Diffstat (limited to 'tex/context/base/node-aux.lua')
-rw-r--r-- | tex/context/base/node-aux.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/context/base/node-aux.lua b/tex/context/base/node-aux.lua index 43624adfd..139f25046 100644 --- a/tex/context/base/node-aux.lua +++ b/tex/context/base/node-aux.lua @@ -342,7 +342,7 @@ end nodes.locate = locate -function nodes.concat(list) -- no slide ! +function nodes.concat(list) local head, tail for i=1,#list do local li = list[i] @@ -351,10 +351,10 @@ function nodes.concat(list) -- no slide ! elseif head then tail.next = li li.prev = tail - tail = li + tail = li.next and slide_nodes(li) or li else head = li - tail = li + tail = li.next and slide_nodes(li) or li end end return head, tail |