diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2013-07-06 00:06:37 +0800 |
---|---|---|
committer | LAN-TW <lantw44@gmail.com> | 2013-07-06 00:08:39 +0800 |
commit | 3cbc55d9d48dc1c89e13833c37b192ef4418d182 (patch) | |
tree | 9982a5c99909e9bedacfe6c88ffcf6a1896c6bf4 | |
parent | aa3cbe8cbc0447079033cca68ff786fe7a53fb47 (diff) | |
download | gsoc2013-epiphany-3cbc55d9d48dc1c89e13833c37b192ef4418d182.tar.gz gsoc2013-epiphany-3cbc55d9d48dc1c89e13833c37b192ef4418d182.tar.zst gsoc2013-epiphany-3cbc55d9d48dc1c89e13833c37b192ef4418d182.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])) |