diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-10-16 13:50:35 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2010-10-16 13:50:35 +0000 |
commit | b0da0e5067137b5b472647c4259727b3817b2c6e (patch) | |
tree | 67cd5f64a8217c98f62d3cf841c4cba045605c7d /gtk | |
parent | 43029944aea1d3655c675f86d0874d620f65b885 (diff) | |
download | netsurf-b0da0e5067137b5b472647c4259727b3817b2c6e.tar.gz netsurf-b0da0e5067137b5b472647c4259727b3817b2c6e.tar.bz2 |
Fix WebP images for little-endian processors, and enable for gtk build.
Direct links work, images embedded in web pages are not showing up -
test page at http://www.unsatisfactorysoftware.co.uk/netsurf/webptest/
svn path=/trunk/netsurf/; revision=10886
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gtk_filetype.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtk_filetype.c b/gtk/gtk_filetype.c index 43660055a..51b632db8 100644 --- a/gtk/gtk_filetype.c +++ b/gtk/gtk_filetype.c @@ -64,6 +64,8 @@ void gtk_fetch_filetype_init(const char *mimefile) hash_add(mime_hash, "gif", "image/gif"); hash_add(mime_hash, "png", "image/png"); hash_add(mime_hash, "jng", "image/jng"); + hash_add(mime_hash, "mng", "image/mng"); + hash_add(mime_hash, "webp", "image/webp"); hash_add(mime_hash, "spr", "image/x-riscos-sprite"); if (fh == NULL) { |