summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fr-command-7z.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/fr-command-7z.c b/src/fr-command-7z.c
index b61868b..fbce9cf 100644
--- a/src/fr-command-7z.c
+++ b/src/fr-command-7z.c
@@ -347,13 +347,18 @@ fr_command_7z_add (FrCommand *comm,
switch (comm->compression) {
case FR_COMPRESSION_VERY_FAST:
- fr_process_add_arg (comm->process, "-mx=1"); break;
+ fr_process_add_arg (comm->process, "-mx=1");
+ break;
case FR_COMPRESSION_FAST:
- fr_process_add_arg (comm->process, "-mx=5"); break;
+ fr_process_add_arg (comm->process, "-mx=5");
+ break;
case FR_COMPRESSION_NORMAL:
- fr_process_add_arg (comm->process, "-mx=5"); break;
+ fr_process_add_arg (comm->process, "-mx=7");
+ break;
case FR_COMPRESSION_MAXIMUM:
- fr_process_add_arg (comm->process, "-mx=7"); break;
+ fr_process_add_arg (comm->process, "-mx=9");
+ fr_process_add_arg (comm->process, "-m0=lzma2");;
+ break;
}
if (is_mime_type (comm->mime_type, "application/x-ms-dos-executable"))