diff options
Diffstat (limited to 'xdelta3/xdelta3-main.h')
-rw-r--r-- | xdelta3/xdelta3-main.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xdelta3/xdelta3-main.h b/xdelta3/xdelta3-main.h index 50cbb67..44f51ee 100644 --- a/xdelta3/xdelta3-main.h +++ b/xdelta3/xdelta3-main.h | |||
@@ -2454,7 +2454,11 @@ main_input (xd3_cmd cmd, | |||
2454 | { | 2454 | { |
2455 | XPR(NT "compression level: %d\n", option_level); | 2455 | XPR(NT "compression level: %d\n", option_level); |
2456 | } | 2456 | } |
2457 | if (option_level == 0) { stream_flags |= XD3_NOCOMPRESS; } | 2457 | if (option_level == 0) |
2458 | { | ||
2459 | stream_flags |= XD3_NOCOMPRESS; | ||
2460 | config.smatch_cfg = XD3_SMATCH_FASTEST; | ||
2461 | } | ||
2458 | else if (option_level == 1) { config.smatch_cfg = XD3_SMATCH_FASTEST; } | 2462 | else if (option_level == 1) { config.smatch_cfg = XD3_SMATCH_FASTEST; } |
2459 | else if (option_level <= 5) { config.smatch_cfg = XD3_SMATCH_FAST; } | 2463 | else if (option_level <= 5) { config.smatch_cfg = XD3_SMATCH_FAST; } |
2460 | else if (option_level == 6) { config.smatch_cfg = XD3_SMATCH_DEFAULT; } | 2464 | else if (option_level == 6) { config.smatch_cfg = XD3_SMATCH_DEFAULT; } |