summaryrefslogtreecommitdiff
path: root/tex/context/base/node-res.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/node-res.lua')
-rw-r--r--tex/context/base/node-res.lua13
1 files changed, 6 insertions, 7 deletions
diff --git a/tex/context/base/node-res.lua b/tex/context/base/node-res.lua
index 709532d76..968283745 100644
--- a/tex/context/base/node-res.lua
+++ b/tex/context/base/node-res.lua
@@ -159,13 +159,12 @@ local vlist = register_nut(new_nut("vlist")) setfield(vlist,"dir","T
function nutpool.zeroglue(n)
local s = getfield(n,"spec")
- return not writable or ( -- still valid? writable
- getfield(s,"width") == 0
- and getfield(s,"stretch") == 0
- and getfield(s,"shrink") == 0
- and getfield(s,"stretch_order") == 0
- and getfield(s,"shrink_order") == 0
- )
+ return
+ getfield(s,"width") == 0 and
+ getfield(s,"stretch") == 0 and
+ getfield(s,"shrink") == 0 and
+ getfield(s,"stretch_order") == 0 and
+ getfield(s,"shrink_order") == 0
end
function nutpool.glyph(fnt,chr)