diff options
-rw-r--r-- | backend/comics/comics-document.c | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/backend/comics/comics-document.c b/backend/comics/comics-document.c index 466938f5..feeeec47 100644 --- a/backend/comics/comics-document.c +++ b/backend/comics/comics-document.c @@ -385,30 +385,30 @@ comics_check_decompress_command (gchar *mime_type, !strcmp (mime_type, "application/x-7z-compressed")) { /* 7zr, 7za and 7z are the commands from the p7zip project able * to decompress .7z files */ - comics_document->selected_command = - g_find_program_in_path ("7zr"); - if (comics_document->selected_command) { - comics_document->command_usage = P7ZIP; - return TRUE; - } - comics_document->selected_command = - g_find_program_in_path ("7za"); - if (comics_document->selected_command) { - comics_document->command_usage = P7ZIP; - return TRUE; - } - comics_document->selected_command = - g_find_program_in_path ("7z"); - if (comics_document->selected_command) { - comics_document->command_usage = P7ZIP; - return TRUE; - } - comics_document->selected_command = - g_find_program_in_path ("bsdtar"); - if (comics_document->selected_command) { - comics_document->command_usage = TAR; - return TRUE; - } + comics_document->selected_command = + g_find_program_in_path ("7zr"); + if (comics_document->selected_command) { + comics_document->command_usage = P7ZIP; + return TRUE; + } + comics_document->selected_command = + g_find_program_in_path ("7za"); + if (comics_document->selected_command) { + comics_document->command_usage = P7ZIP; + return TRUE; + } + comics_document->selected_command = + g_find_program_in_path ("7z"); + if (comics_document->selected_command) { + comics_document->command_usage = P7ZIP; + return TRUE; + } + comics_document->selected_command = + g_find_program_in_path ("bsdtar"); + if (comics_document->selected_command) { + comics_document->command_usage = TAR; + return TRUE; + } } else if (!strcmp (mime_type, "application/x-cbt") || !strcmp (mime_type, "application/x-tar")) { /* tar utility (Tape ARchive) */ |