diff options
author | Christophe Grenier <[email protected]> | 2012-08-09 12:58:35 +0200 |
---|---|---|
committer | Christophe Grenier <[email protected]> | 2012-08-09 12:58:35 +0200 |
commit | ee3ac65ca7db7997edeb9a502282909011e284d6 (patch) | |
tree | 4490d0abc6a87fc850669632f3d4050edcf1fd50 /src | |
parent | f43a52f87e18d375123897947dca1a58cc9eb3e0 (diff) |
PhotoRec: recover .kmz Zipped Keyhole Markup Language (KML) used by Google Earth
Diffstat (limited to 'src')
-rw-r--r-- | src/file_zip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/file_zip.c b/src/file_zip.c index 0c38562e..a3662ab2 100644 --- a/src/file_zip.c +++ b/src/file_zip.c @@ -230,6 +230,8 @@ static int zip_parse_file_entry(file_recovery_t *fr, const char **ext, const uns msoffice=1; else if(len==4 && memcmp(filename, "Home", 4)==0) sh3d=1; + else if(len==7 && memcmp(filename, "doc.kml", 7)==0) + *ext="kmz"; /* Zipped Keyhole Markup Language (KML) used by Google Earth */ } else if(file_nbr==1 && sh3d==1) { |