aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-10-27 15:08:18 +0200
committerPřemysl Janouch <p@janouch.name>2018-10-27 15:08:18 +0200
commit16e24195e71654e964bd4840cfd4cd93a6e30834 (patch)
treeaf6079852def6869448a9e6d2e037c59ce6b6a7c /plugins
parent4e76388f4f6b011525a92409d95d06360cb87a2d (diff)
downloadhex-16e24195e71654e964bd4840cfd4cd93a6e30834.tar.gz
hex-16e24195e71654e964bd4840cfd4cd93a6e30834.tar.xz
hex-16e24195e71654e964bd4840cfd4cd93a6e30834.zip
Cleanup, add comment
Diffstat (limited to 'plugins')
-rw-r--r--plugins/zip.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/zip.lua b/plugins/zip.lua
index d82759b..0a2dd81 100644
--- a/plugins/zip.lua
+++ b/plugins/zip.lua
@@ -42,6 +42,7 @@ local decode = function (c)
c (c.position, c.position + comment_len - 1):mark ("comment")
-- TODO: decode the fields better
+ -- https://stackoverflow.com/a/30028491/76313
-- TODO: also mark actual file data if someone wants to put in the effort
c.position = cd_offset + 1
for i = 1, cd_len do