From 1497fa7b7ca730a3e358f98ca5ba779186ce26e0 Mon Sep 17 00:00:00 2001 From: ZenWalker Date: Sat, 11 Mar 2017 01:55:28 +0100 Subject: 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 --- src/fr-command-7z.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1