Fix erronous text file detected as java.
Thanks to Andreas Renberg for reporting the bug
This commit is contained in:
parent
f032a966f6
commit
64825cc9e2
1 changed files with 1 additions and 1 deletions
|
@ -1264,7 +1264,7 @@ static int header_check_txt(const unsigned char *buffer, const unsigned int buff
|
|||
else
|
||||
ext="py";
|
||||
}
|
||||
else if(strstr(buffer_lower, "class")!=NULL &&
|
||||
else if(strstr(buffer_lower, "class ")!=NULL &&
|
||||
(l>=100 || file_recovery->file_stat==NULL))
|
||||
{
|
||||
#ifdef DJGPP
|
||||
|
|
Loading…
Reference in a new issue