From 4012be784ce5f14d247144069dab27c23ae98445 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Mon, 30 Jun 2014 14:12:34 +0900 Subject: [PATCH] extns: Add .tga to the recognized image files Add it to tyls as well --- src/bin/extns.c | 2 +- src/bin/tyls.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bin/extns.c b/src/bin/extns.c index 4d2a24e6..c330304a 100644 --- a/src/bin/extns.c +++ b/src/bin/extns.c @@ -7,7 +7,7 @@ const char *extn_img[] = ".cur", ".xcf", ".xcf.gz", ".arw", ".cr2", ".crw", ".dcr", ".dng", ".k25", ".kdc", ".erf", ".mrw", ".nef", ".nrf", ".nrw", ".orf", ".raw", ".rw2", ".pef", ".raf", ".sr2", ".srf", ".x3f", ".webp", ".ppt", ".pptx", ".odp", - ".tgv", + ".tgv", ".tga", NULL }; diff --git a/src/bin/tyls.c b/src/bin/tyls.c index d046163b..b80b1ab4 100644 --- a/src/bin/tyls.c +++ b/src/bin/tyls.c @@ -202,6 +202,8 @@ const Cmatch fmatch[] = { 5, 5, 5, 9, 9, 9, "*.ICO", NULL}, { 5, 5, 5, 9, 9, 9, "*.pgm", NULL}, { 5, 5, 5, 9, 9, 9, "*.PGM", NULL}, + { 5, 5, 5, 9, 9, 9, "*.tga", NULL}, + { 5, 5, 5, 9, 9, 9, "*.TGA", NULL}, { 5, 5, 5, 9, 9, 9, "*.pbm", NULL}, { 5, 5, 5, 9, 9, 9, "*.PBM", NULL}, { 5, 5, 5, 9, 9, 9, "*.psd", NULL},