summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/file_gz.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/file_gz.c b/src/file_gz.c
index 4d958c2c..fcbbb558 100644
--- a/src/file_gz.c
+++ b/src/file_gz.c
@@ -358,6 +358,12 @@ static int header_check_gz(const unsigned char *buffer, const unsigned int buffe
file_recovery_new->extension="schematic";
return 1;
}
+ if(memcmp(buffer_uncompr, "<SCRIBUS", 8) == 0)
+ {
+ /* Scribus XML file */
+ file_recovery_new->extension="sla.gz";
+ return 1;
+ }
{
unsigned int i;
for(i=0; i<d_stream.total_out && i< 256; i++)