summaryrefslogtreecommitdiff
path: root/riscos/filetype.c
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2008-09-15 22:45:44 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2008-09-15 22:45:44 +0000
commit385d274f5b67a0db54929e204945fed129bc0730 (patch)
treeaf28013a9890082309d8f659a57397a0efb50e06 /riscos/filetype.c
parentd9c7f033e6d6a6914fc4523cbc3226d448cdf6cf (diff)
downloadnetsurf-385d274f5b67a0db54929e204945fed129bc0730.tar.gz
netsurf-385d274f5b67a0db54929e204945fed129bc0730.tar.bz2
A bunch of fixes to the libpng binding
svn path=/trunk/netsurf/; revision=5338
Diffstat (limited to 'riscos/filetype.c')
-rw-r--r--riscos/filetype.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/riscos/filetype.c b/riscos/filetype.c
index a4fc353bc..dc1b9b8d2 100644
--- a/riscos/filetype.c
+++ b/riscos/filetype.c
@@ -278,10 +278,12 @@ int ro_content_filetype_from_type(content_type type) {
case CONTENT_HTML: return 0xfaf;
case CONTENT_TEXTPLAIN: return 0xfff;
case CONTENT_CSS: return 0xf79;
+#if defined(WITH_MNG) || defined(WITH_PNG)
+ case CONTENT_PNG: return 0xb60;
+#endif
#ifdef WITH_MNG
case CONTENT_JNG: return 0xf78;
case CONTENT_MNG: return 0xf84;
- case CONTENT_PNG: return 0xb60;
#endif
#ifdef WITH_JPEG
case CONTENT_JPEG: return 0xc85;