From: Eric Biggers Date: Mon, 30 Dec 2013 02:02:50 +0000 (-0600) Subject: Fix test for length 2 matches X-Git-Tag: v1.6.0~36 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=dbfee435692344cccd48bb4c7deb3af23ac80176 Fix test for length 2 matches --- 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,