From da4a9313f1260531ec3dde07b32c122f120f695c Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Sat, 25 Feb 2006 18:51:51 +0000 Subject: [project @ 2006-02-25 18:50:34 by rjw] Support for BMP files svn path=/import/netsurf/; revision=2095 --- riscos/filetype.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'riscos/filetype.c') 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 -- cgit v1.2.3