(task_content.c) Cleanup

This commit is contained in:
twinaphex 2016-12-21 15:31:55 +01:00
parent 9dab728067
commit 54a569a085

View File

@ -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';