summaryrefslogtreecommitdiff
path: root/frontends/framebuffer
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-08-16 13:08:44 +0100
committerVincent Sanders <vince@kyllikki.org>2016-08-16 13:08:44 +0100
commit72277de6ead1324bbd7fa512e772d92e1f4b0951 (patch)
treecbce1c605c7583f33c6e7b9aafc34813b1506642 /frontends/framebuffer
parente8e15b91333c8528eb398557c33cca6a0a82fb6d (diff)
downloadnetsurf-72277de6ead1324bbd7fa512e772d92e1f4b0951.tar.gz
netsurf-72277de6ead1324bbd7fa512e772d92e1f4b0951.tar.bz2
add bmp file format to file fetch types for gtk and framebuffer
Diffstat (limited to 'frontends/framebuffer')
-rw-r--r--frontends/framebuffer/fetch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/frontends/framebuffer/fetch.c b/frontends/framebuffer/fetch.c
index e6b72e03c..801b87a74 100644
--- a/frontends/framebuffer/fetch.c
+++ b/frontends/framebuffer/fetch.c
@@ -85,6 +85,8 @@ static const char *fetch_filetype(const char *unix_path)
return "image/jng";
if (2 < l && strcasecmp(unix_path + l - 3, "svg") == 0)
return "image/svg";
+ if (2 < l && strcasecmp(unix_path + l - 3, "bmp") == 0)
+ return "image/bmp";
return "text/html";
}