Permalink
Browse files

crc problem

  • Loading branch information...
1 parent a7303f3 commit 34452588717663339ea5f914672c54f84410daa0 @onkis committed Feb 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 janzip/janzip.js
View
@@ -67,7 +67,7 @@ var Zip = function () {
header.writeInt16(dt.time);
header.writeInt16(dt.date);
// crc32
- header.writeInt32(crc32(compressedData));
+ header.writeInt32(crc32(file.data));
// compressed size
header.writeInt32(compressedData.length);
// uncompressed size

0 comments on commit 3445258

Please sign in to comment.