From dbfee435692344cccd48bb4c7deb3af23ac80176 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Sun, 29 Dec 2013 20:02:50 -0600 Subject: [PATCH] Fix test for length 2 matches --- src/lzx-compress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lzx-compress.c b/src/lzx-compress.c index 58806632..056dc83b 100644 --- a/src/lzx-compress.c +++ b/src/lzx-compress.c @@ -1993,7 +1993,7 @@ lzx_create_compressor(size_t window_size, if (params->algorithm == WIMLIB_LZX_ALGORITHM_SLOW) { unsigned min_match_len = LZX_MIN_MATCH_LEN; - if (!ctx->params.alg_params.slow.use_len2_matches) + if (!params->alg_params.slow.use_len2_matches) min_match_len = max(min_match_len, 3); if (!lz_sarray_init(&ctx->lz_sarray, -- 2.43.0