diff options
author | Colomban Wendling <[email protected]> | 2024-01-23 19:20:11 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2024-01-25 18:28:29 +0100 |
commit | 01a64cddcd20b8b6647962e1336a3bb608d39a02 (patch) | |
tree | d6382ec31949d031b19f7d766e79f314f5d36661 | |
parent | 40fbfca42d7166c05e55797e73431ef7de46173b (diff) | |
download | engrampa-01a64cddcd20b8b6647962e1336a3bb608d39a02.tar.bz2 engrampa-01a64cddcd20b8b6647962e1336a3bb608d39a02.tar.xz |
7z: Fix accepting RAR archives when unar-open-zip=true
Offset was not properly updated when adding support for EPUB+ZIP in
84fb5cfe96263f79e50b68a5a6996e40c514cf74, leading to disabling both ZIP
and RAR when the option unar-open-zip was enabled.
-rw-r--r-- | src/fr-command-7z.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fr-command-7z.c b/src/fr-command-7z.c index 7b40d5e..8bb474e 100644 --- a/src/fr-command-7z.c +++ b/src/fr-command-7z.c @@ -609,7 +609,7 @@ fr_command_7z_get_mime_types (FrCommand *comm) if (g_settings_get_boolean (settings, "unar-open-zip") && is_program_in_path ("unar") && is_program_in_path ("lsar")) - sevenz_mime_types [8] = NULL; + sevenz_mime_types [9] = NULL; else g_settings_set_boolean (settings, "unar-open-zip", FALSE); |