OSDN Git Service
(root)
/
dictzip-java
/
dictzip-java.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Refactoring compression level and OS field
[dictzip-java/dictzip-java.git]
/
src
/
org
/
dict
/
zip
/
DictZipHeader.java
diff --git
a/src/org/dict/zip/DictZipHeader.java
b/src/org/dict/zip/DictZipHeader.java
index
daee70a
..
e66a4a0
100644
(file)
--- a/
src/org/dict/zip/DictZipHeader.java
+++ b/
src/org/dict/zip/DictZipHeader.java
@@
-335,7
+335,7
@@
public class DictZipHeader {
bb.put(h.gzipFlag.toByteArray()[0]);
bb.putInt((int)h.mtime);
bb.put((byte)h.extraFlag.value);
- bb.put((byte)
0
);
+ bb.put((byte)
h.headerOS.value
);
bb.putShort((short)h.extraLength);
bb.put((byte)h.subfieldID1);
bb.put((byte)h.subfieldID2);