summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZenWalker <[email protected]>2017-03-11 01:55:28 +0100
committerZenWalker <[email protected]>2017-05-17 13:12:26 +0200
commit1497fa7b7ca730a3e358f98ca5ba779186ce26e0 (patch)
tree8304766a137ffc4836c8dd97c52854281248b062
parent21c82365ebca884683dc924017b791743a044ef5 (diff)
downloadengrampa-1497fa7b7ca730a3e358f98ca5ba779186ce26e0.tar.bz2
engrampa-1497fa7b7ca730a3e358f98ca5ba779186ce26e0.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
-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;