summaryrefslogtreecommitdiff
path: root/src/fr-command-zip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fr-command-zip.c')
-rw-r--r--src/fr-command-zip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fr-command-zip.c b/src/fr-command-zip.c
index 2a5d42e..748af19 100644
--- a/src/fr-command-zip.c
+++ b/src/fr-command-zip.c
@@ -206,12 +206,12 @@ process_line__common (char *line,
if (line == NULL)
return;
- fr_command_message (comm, line);
-
if (comm->n_files != 0) {
double fraction = (double) ++comm->n_file / (comm->n_files + 1);
fr_command_progress (comm, fraction);
}
+ else
+ fr_command_message (comm, line);
}