PhotoRec: recover FictionBook .fb2
This commit is contained in:
parent
5a0e2bb807
commit
3badc433a4
1 changed files with 5 additions and 0 deletions
|
@ -631,6 +631,11 @@ static int header_check_xml(const unsigned char *buffer, const unsigned int buff
|
|||
/* Scribus XML file */
|
||||
file_recovery_new->extension="sla";
|
||||
}
|
||||
else if(strncasecmp(tmp, "<FictionBook", 12)==0)
|
||||
{
|
||||
/* FictionBook, see http://www.fictionbook.org */
|
||||
file_recovery_new->extension="fb2";
|
||||
}
|
||||
tmp++;
|
||||
tmp=strchr(tmp,'<');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue