From 4421b2e633179bbd8f5331d2bdc33246aa2f40d9 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Fri, 4 Apr 2003 15:19:32 +0000 Subject: [project @ 2003-04-04 15:19:31 by bursa] New CSS parser. svn path=/import/netsurf/; revision=112 --- riscos/filetype.c | 3 ++- riscos/font.c | 4 ++-- riscos/font.h | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) (limited to 'riscos') diff --git a/riscos/filetype.c b/riscos/filetype.c index daa10d842..c69e5163c 100644 --- a/riscos/filetype.c +++ b/riscos/filetype.c @@ -1,5 +1,5 @@ /** - * $Id: filetype.c,v 1.1 2003/03/15 15:53:20 bursa Exp $ + * $Id: filetype.c,v 1.2 2003/04/04 15:19:31 bursa Exp $ */ #include @@ -15,6 +15,7 @@ struct type_entry { char mime_type[16]; }; static const struct type_entry type_map[] = { + {0x0cc, "text/css"}, {0xc85, "image/jpeg"}, {0xfaf, "text/html"}, {0xfff, "text/plain"}, diff --git a/riscos/font.c b/riscos/font.c index 12be223c4..0ba293ad3 100644 --- a/riscos/font.c +++ b/riscos/font.c @@ -1,11 +1,11 @@ /** - * $Id: font.c,v 1.12 2003/03/04 11:59:35 bursa Exp $ + * $Id: font.c,v 1.13 2003/04/04 15:19:31 bursa Exp $ */ #include #include #include "libutf-8/utf-8.h" -#include "netsurf/render/css.h" +#include "netsurf/css/css.h" #include "netsurf/riscos/font.h" #include "netsurf/utils/utils.h" #include "netsurf/desktop/gui.h" diff --git a/riscos/font.h b/riscos/font.h index 9cbbdf1f6..d582d0ab9 100644 --- a/riscos/font.h +++ b/riscos/font.h @@ -1,5 +1,5 @@ /** - * $Id: font.h,v 1.6 2003/03/03 22:40:39 bursa Exp $ + * $Id: font.h,v 1.7 2003/04/04 15:19:32 bursa Exp $ */ #ifndef _NETSURF_RISCOS_FONT_H_ @@ -9,7 +9,7 @@ * structures and typedefs */ -#include "netsurf/render/css.h" +#include "netsurf/css/css.h" #include "oslib/font.h" typedef unsigned int font_id; -- cgit v1.2.3