summaryrefslogtreecommitdiff
path: root/src/fr-command-7z.c
diff options
context:
space:
mode:
authorZenWalker <[email protected]>2017-03-11 01:55:28 +0100
committerZenWalker <[email protected]>2017-03-11 01:55:28 +0100
commitcea0a8151f01fc367a1e8a8d3851dd5faaebc8a1 (patch)
tree990abfb76e6f26fc3e5c004758bb4284359a1211 /src/fr-command-7z.c
parent8e635729baf6af18aa754d2d8cbe946e6635baeb (diff)
downloadengrampa-cea0a8151f01fc367a1e8a8d3851dd5faaebc8a1.tar.bz2
engrampa-cea0a8151f01fc367a1e8a8d3851dd5faaebc8a1.tar.xz
Fix: open the 7z first split volume after compress
The issue: engrampa shows error after the compress split into volumes using the menus (Archive -> New...) This happens because since unknown 7z version, the output line "Creating archive " has changed to "Creating archive:" I check the text "Creating archive" to work with all versions
Diffstat (limited to 'src/fr-command-7z.c')
-rw-r--r--src/fr-command-7z.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fr-command-7z.c b/src/fr-command-7z.c
index f2d6020..def5dc6 100644
--- a/src/fr-command-7z.c
+++ b/src/fr-command-7z.c
@@ -284,7 +284,7 @@ process_line__add (char *line,
{
FrCommand *comm = FR_COMMAND (data);
- if ((comm->volume_size > 0) && (strncmp (line, "Creating archive ", 17) == 0)) {
+ if ((comm->volume_size > 0) && (strncmp (line, "Creating archive", 16) == 0)) {
char *volume_filename;
GFile *volume_file;