From 54a569a085069d37cdffa35c908e19d7a5b1d02c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 21 Dec 2016 15:31:55 +0100 Subject: [PATCH] (task_content.c) Cleanup --- tasks/task_content.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tasks/task_content.c b/tasks/task_content.c index ce1d96ab29..474ba28366 100644 --- a/tasks/task_content.c +++ b/tasks/task_content.c @@ -432,12 +432,9 @@ static bool content_file_init_extract( if (block_extract) continue; - if (!contains_compressed) - { - /* just use the first file in the archive */ - if (!path_is_compressed_file(path)) - continue; - } + /* just use the first file in the archive */ + if (!contains_compressed && !path_is_compressed_file(path)) + continue; temp_content[0] = new_path[0] = '\0';