mirror of
https://github.com/facebook/zstd.git
synced 2025-08-05 19:15:58 +03:00
Fix wrong conditions
This commit is contained in:
@@ -9,12 +9,12 @@ function project_zstd(dir, compression, decompression, deprecated, dictbuilder,
|
|||||||
|
|
||||||
if legacy == nil then legacy = 0 end
|
if legacy == nil then legacy = 0 end
|
||||||
|
|
||||||
if compression then
|
if not compression then
|
||||||
dictbuilder = false
|
dictbuilder = false
|
||||||
deprecated = false
|
deprecated = false
|
||||||
end
|
end
|
||||||
|
|
||||||
if decompression then
|
if not decompression then
|
||||||
legacy = 0
|
legacy = 0
|
||||||
deprecated = false
|
deprecated = false
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user