summaryrefslogtreecommitdiff
path: root/tex/context/base/m-nodechart.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/m-nodechart.lua')
-rw-r--r--tex/context/base/m-nodechart.lua8
1 files changed, 1 insertions, 7 deletions
diff --git a/tex/context/base/m-nodechart.lua b/tex/context/base/m-nodechart.lua
index 1413cd8f1..4f2740ef4 100644
--- a/tex/context/base/m-nodechart.lua
+++ b/tex/context/base/m-nodechart.lua
@@ -57,13 +57,7 @@ end
-- subtype width leader spec (stretch shrink ...
function formatters.whatsit(n,comment)
- local subtype = n.subtype
- local whatsit = whatsitcodes[subtype]
- if whatsit == "dir" or whatsit == "localpar" then
- return format("\\doFLOWdirnode{%s}{%s}{%s}",comment,whatsit,n.dir)
- else
- return nodecodes[n.id]
- end
+ return whatsitcodes[n.id] or "unknown whatsit"
end
function formatters.dir(n,comment)