diff options
author | Marius <mariausol@gmail.com> | 2010-11-27 14:40:13 +0200 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2010-11-27 14:40:13 +0200 |
commit | 1e74733e95e8a624a8d6ed637087aa25480b61df (patch) | |
tree | e2950e135bb6d5da884e54e07bbfb1f9dad108f0 /tex/context/base/data-zip.lua | |
parent | d558169e221a686ca4f6c0d7726cbd3d1b2c0529 (diff) | |
download | context-1e74733e95e8a624a8d6ed637087aa25480b61df.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 |