Fix wrong conditions

This commit is contained in:
Codecat 2018-07-14 12:34:03 +02:00
parent 1a61bdb9c0
commit 044cd81ce6
No known key found for this signature in database
GPG Key ID: 52A27267BF1C0F9B

View File

@ -9,12 +9,12 @@ function project_zstd(dir, compression, decompression, deprecated, dictbuilder,
if legacy == nil then legacy = 0 end
if compression then
if not compression then
dictbuilder = false
deprecated = false
end
if decompression then
if not decompression then
legacy = 0
deprecated = false
end