blob: 6d7f91b644906d4d81360d7234d6b0585238a2cf (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- src/window.c.orig 2016-07-19 21:54:07 UTC
+++ src/window.c
@@ -1181,7 +1181,7 @@ XArchiveType xa_detect_archive_type (gch
xx = XARCHIVETYPE_BZIP2;
else if (memcmp ( magic,"\x1f\x8b",2) == 0 || memcmp ( magic,"\x1f\x9d",2) == 0)
xx = XARCHIVETYPE_GZIP;
- else if (memcmp ( magic,"\x5d\x00\x00\x80",4) == 0)
+ else if (memcmp ( magic,"\x5d\x00\x00",3) == 0)
xx = XARCHIVETYPE_LZMA;
else if (memcmp ( magic,"\xfd\x37\x7a\x58\x5a",5) == 0)
xx = XARCHIVETYPE_XZ;
|