X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=programs%2Fimagex.c;h=06ddeddd4060730ad083fcff690629d413583ffe;hp=2564b4c7ac1a0cc7a3f963a7aed2ca10142b5f7d;hb=84aa21bf2722d14eff30fac2ec4904ed2ed6de52;hpb=e0d3f9cd10e8517f5b9a46acdb7c7f715cffa6d9 diff --git a/programs/imagex.c b/programs/imagex.c index 2564b4c7..06ddeddd 100644 --- a/programs/imagex.c +++ b/programs/imagex.c @@ -3275,6 +3275,7 @@ imagex_optimize(int argc, tchar **argv, int cmd) break; case IMAGEX_COMPRESS_SLOW_OPTION: write_flags |= WIMLIB_WRITE_FLAG_RECOMPRESS; + compression_type = WIMLIB_COMPRESSION_TYPE_LZX; ret = set_compress_slow(); if (ret) goto out_err;