summaryrefslogtreecommitdiff
path: root/tex/context/base/l-io.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2009-12-14 22:32:00 +0100
committerHans Hagen <pragma@wxs.nl>2009-12-14 22:32:00 +0100
commit412c96869e37c713381c96b412f7329bf49b108f (patch)
tree8db233dee05f4b8d5e0a58fa965700b66923da01 /tex/context/base/l-io.lua
parent3a75fc96a5e7607afbead86fd9a3a9a8831494aa (diff)
downloadcontext-412c96869e37c713381c96b412f7329bf49b108f.tar.gz
beta 2009.12.14 22:32
Diffstat (limited to 'tex/context/base/l-io.lua')
-rw-r--r--tex/context/base/l-io.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/l-io.lua b/tex/context/base/l-io.lua
index a77edb107..0d0357039 100644
--- a/tex/context/base/l-io.lua
+++ b/tex/context/base/l-io.lua
@@ -35,7 +35,7 @@ function io.savedata(filename,data,joiner)
elseif type(data) == "function" then
data(f)
else
- f:write(data)
+ f:write(data or "")
end
f:close()
return true