diff options
author | Hans Hagen <pragma@wxs.nl> | 2010-11-27 13:21:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2010-11-27 13:21:00 +0100 |
commit | 5166c0232c9d5cece4d2a6778ea782243fbb685d (patch) | |
tree | ed18dc9b7c2170a5a61d5e7ec651a3397ebbdc0d /tex/context/base/data-zip.lua | |
parent | f720cb2398bd745d310315a99fea01e31d2c260e (diff) | |
download | context-5166c0232c9d5cece4d2a6778ea782243fbb685d.tar.gz |
beta 2010.11.27 13:21
Diffstat (limited to 'tex/context/base/data-zip.lua')
-rw-r--r-- | tex/context/base/data-zip.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/context/base/data-zip.lua b/tex/context/base/data-zip.lua index 784ecb6b7..10c1b74f0 100644 --- a/tex/context/base/data-zip.lua +++ b/tex/context/base/data-zip.lua @@ -6,6 +6,8 @@ if not modules then modules = { } end modules ['data-zip'] = { license = "see context related readme files" } +-- to be redone using the more recent schemes mechanism + local format, find, match = string.format, string.find, string.match local unpack = unpack or table.unpack @@ -141,7 +143,7 @@ function openers.zip(specification) if trace_locating then report_resolvers("zip opener, file '%s' found",q.name) end - return openers.textopener(specification,dfile,'zip') + return openers.textopener('zip',specification,dfile) elseif trace_locating then report_resolvers("zip opener, file '%s' not found",q.name) end |