diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2013-07-06 00:06:37 +0800 |
---|---|---|
committer | LAN-TW <lantw44@gmail.com> | 2013-09-16 22:04:47 +0800 |
commit | 1a5eb4d9c9e9a8ed9c0ac18069a983cd712a9dc5 (patch) | |
tree | ef2135c97c4386969565f0b37a6885fb9b495903 | |
parent | bcfaaf8d55f6ac63c0d031c29d57377c9f9adca6 (diff) | |
download | gsoc2013-epiphany-1a5eb4d9c9e9a8ed9c0ac18069a983cd712a9dc5.tar gsoc2013-epiphany-1a5eb4d9c9e9a8ed9c0ac18069a983cd712a9dc5.tar.gz gsoc2013-epiphany-1a5eb4d9c9e9a8ed9c0ac18069a983cd712a9dc5.tar.bz2 gsoc2013-epiphany-1a5eb4d9c9e9a8ed9c0ac18069a983cd712a9dc5.tar.lz gsoc2013-epiphany-1a5eb4d9c9e9a8ed9c0ac18069a983cd712a9dc5.tar.xz gsoc2013-epiphany-1a5eb4d9c9e9a8ed9c0ac18069a983cd712a9dc5.tar.zst gsoc2013-epiphany-1a5eb4d9c9e9a8ed9c0ac18069a983cd712a9dc5.zip |
Add some extensions of compressed files
-rw-r--r-- | embed/ephy-download.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/ephy-download.c b/embed/ephy-download.c index 4f00c6e72..b3a7ad3a1 100644 --- a/embed/ephy-download.c +++ b/embed/ephy-download.c @@ -228,7 +228,7 @@ static const char* file_is_compressed (const char *filename) { int i; - static const char * const compression[] = {".gz", ".bz2", ".Z", ".lz", NULL}; + static const char * const compression[] = {".gz", ".bz2", ".Z", ".xz", ".lzma", ".lz", ".lrz", NULL}; for (i = 0; compression[i] != NULL; i++) { if (g_str_has_suffix (filename, compression[i])) |