From 72277de6ead1324bbd7fa512e772d92e1f4b0951 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 16 Aug 2016 13:08:44 +0100 Subject: add bmp file format to file fetch types for gtk and framebuffer --- frontends/framebuffer/fetch.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'frontends/framebuffer') 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"; } -- cgit v1.2.3