PhotoRec: recover scribus .sla files

This commit is contained in:
Christophe Grenier 2012-09-10 22:22:59 +02:00
parent 69355438db
commit 0a869af4d3

View file

@ -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;