summaryrefslogtreecommitdiff
path: root/riscos/filetype.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2006-02-25 18:51:51 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2006-02-25 18:51:51 +0000
commitda4a9313f1260531ec3dde07b32c122f120f695c (patch)
tree120beb0d163fc9456eca4076875d1eaf2bf4faa8 /riscos/filetype.c
parent44d192c76255fc9840e4c81f49abd05474309345 (diff)
downloadnetsurf-da4a9313f1260531ec3dde07b32c122f120f695c.tar.gz
netsurf-da4a9313f1260531ec3dde07b32c122f120f695c.tar.bz2
[project @ 2006-02-25 18:50:34 by rjw]
Support for BMP files svn path=/import/netsurf/; revision=2095
Diffstat (limited to 'riscos/filetype.c')
-rw-r--r--riscos/filetype.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/riscos/filetype.c b/riscos/filetype.c
index 08228d6a5..89be38e99 100644
--- a/riscos/filetype.c
+++ b/riscos/filetype.c
@@ -237,16 +237,17 @@ int ro_content_filetype_from_type(content_type type) {
#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;
#endif
-#ifdef WITH_PNG
- case CONTENT_PNG: return 0xb60;
-#endif
#ifdef WITH_GIF
case CONTENT_GIF: return 0x695;
#endif
+#ifdef WITH_BMP
+ case CONTENT_BMP: return 0x69c;
+#endif
#ifdef WITH_SPRITE
case CONTENT_SPRITE: return 0xff9;
#endif