summaryrefslogtreecommitdiffstats
path: root/src/file_txt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_txt.c')
-rw-r--r--src/file_txt.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/file_txt.c b/src/file_txt.c
index 814816b..d642ada 100644
--- a/src/file_txt.c
+++ b/src/file_txt.c
@@ -1028,8 +1028,7 @@ static int header_check_txt(const unsigned char *buffer, const unsigned int buff
{
if(file_recovery->file_stat->file_hint == &file_hint_doc)
{
- if(strstr(file_recovery->filename,".doc")==NULL)
- return 0;
+ return 0;
}
else if(file_recovery->file_stat->file_hint == &file_hint_fasttxt ||
file_recovery->file_stat->file_hint == &file_hint_txt)