diff --git a/src/file_lzh.c b/src/file_lzh.c index b4acee45..80a75cc0 100644 --- a/src/file_lzh.c +++ b/src/file_lzh.c @@ -96,7 +96,9 @@ static void file_rename_level0(file_recovery_t *file_recovery) return; buffer_size=fread(buffer, 1, sizeof(buffer), file); fclose(file); - if(buffer_sizefilename_len) return; for(i=0; i< hdr->filename_len && hdr->filename[i]!=0 && hdr->filename[i]!='.'; i++); file_rename(file_recovery, hdr->filename, i, 0, NULL, 1);