summaryrefslogtreecommitdiffstats
path: root/src/file_zip.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_zip.c')
-rw-r--r--src/file_zip.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/file_zip.c b/src/file_zip.c
index d449d11..387a551 100644
--- a/src/file_zip.c
+++ b/src/file_zip.c
@@ -849,6 +849,9 @@ static int header_check_zip(const unsigned char *buffer, const unsigned int buff
file_recovery_new->extension="xrns";
else if(len==4 && memcmp(&buffer[30], "Home", 4)==0)
file_recovery_new->extension="sh3d";
+ /* Apple Numbers */
+ else if(len==18 && memcmp(&buffer[30], "Index/Document.iwa", 18)==0)
+ file_recovery_new->extension="numbers";
else
{
file_recovery_new->extension=file_hint_zip.extension;