From 3cbc55d9d48dc1c89e13833c37b192ef4418d182 Mon Sep 17 00:00:00 2001 From: Ting-Wei Lan Date: Sat, 6 Jul 2013 00:06:37 +0800 Subject: Add some extensions of compressed files --- embed/ephy-download.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])) -- cgit v1.2.3