summaryrefslogtreecommitdiff
path: root/tex/context/base/m-zint.mkiv
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2011-02-05 11:37:00 +0100
committerHans Hagen <pragma@wxs.nl>2011-02-05 11:37:00 +0100
commit6f1048d50cb4376e5bf17c8c9221f61e4af9f778 (patch)
treec01fb5062e0ecfe3d9a76ab923b4026f5f837a86 /tex/context/base/m-zint.mkiv
parent2f454cead3e88e35ba868e6668840a59e22617d2 (diff)
downloadcontext-6f1048d50cb4376e5bf17c8c9221f61e4af9f778.tar.gz
beta 2011.02.05 11:37
Diffstat (limited to 'tex/context/base/m-zint.mkiv')
-rw-r--r--tex/context/base/m-zint.mkiv3
1 files changed, 3 insertions, 0 deletions
diff --git a/tex/context/base/m-zint.mkiv b/tex/context/base/m-zint.mkiv
index 25371cff2..3e6f7ab43 100644
--- a/tex/context/base/m-zint.mkiv
+++ b/tex/context/base/m-zint.mkiv
@@ -54,6 +54,9 @@ local function numberofcode(code)
end
function moduledata.zint.generate(code,data,suffix,options)
+ if not data or data == "" then
+ data = "unset"
+ end
local code = cleancode(code)
local base = format("zint-%s-%s",code,md5.hex(data))
local name = file.addsuffix(base,suffix or "eps")