Skip to content

Commit e6bf3d8

Browse files
committed
Expand the unsupported compression method error message just enough to be useful while staying compact in source code.
1 parent 39f15dd commit e6bf3d8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

arch/UNZIP.LUA

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function unzip(p)
4848
-- s = signature
4949
-- v = version needed
5050
-- fl = flags
51-
-- cm = method
51+
-- cm = Compression method
5252
-- cr = Expected crc32 checksum
5353
-- cs = Compressed size
5454
-- us = Uncompressed size
@@ -114,7 +114,7 @@ function unzip(p)
114114
elseif cm == 8 and pcall(require, "INFLATE") then -- deflated file
115115
inflate(RC, W)
116116
else
117-
print("!Unsupported")
117+
print("!Unsupported compression method " .. cm)
118118
end
119119

120120
of:close()

0 commit comments

Comments
 (0)