fixed minor nit as per @terrelln's comments

This commit is contained in:
Yann Collet
2018-02-09 09:46:08 -08:00
parent 4beaeaace5
commit c72091556b
2 changed files with 3 additions and 6 deletions
+2 -2
View File
@@ -677,8 +677,8 @@ void ZSTDMT_updateCParams_whileCompressing(ZSTDMT_CCtx* mtctx, int compressionLe
compressionLevel);
mtctx->params.compressionLevel = compressionLevel;
if (compressionLevel != ZSTD_CLEVEL_CUSTOM)
cParams = ZSTD_getCParams(compressionLevel, mtctx->frameContentSize, 0 /* should be dictSize */ );
cParams. windowLog = saved_wlog;
cParams = ZSTD_getCParams(compressionLevel, mtctx->frameContentSize, 0 /* dictSize */ );
cParams.windowLog = saved_wlog;
mtctx->params.cParams = cParams;
}