PhotoRec: recover scribus .sla files
This commit is contained in:
parent
69355438db
commit
0a869af4d3
1 changed files with 4 additions and 0 deletions
|
@ -595,6 +595,10 @@ static int header_check_xml(const unsigned char *buffer, const unsigned int buff
|
|||
file_recovery_new->data_check=NULL;
|
||||
file_recovery_new->extension="prproj";
|
||||
}
|
||||
else if(td_memmem(buffer, buffer_size, "<SCRIBUS", 8)!=NULL)
|
||||
{
|
||||
file_recovery_new->extension="sla";
|
||||
}
|
||||
else
|
||||
file_recovery_new->extension="xml";
|
||||
file_recovery_new->file_check=&file_check_xml;
|
||||
|
|
Loading…
Reference in a new issue