From 088742b3c3208be7fb32d72c0ca94ff7f8d507bf Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 7 Apr 2010 09:12:46 +0000 Subject: Fix filetype.c. svn path=/trunk/netsurf/; revision=10260 --- riscos/filetype.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'riscos/filetype.c') diff --git a/riscos/filetype.c b/riscos/filetype.c index 2fac350b3..7c111f996 100644 --- a/riscos/filetype.c +++ b/riscos/filetype.c @@ -250,17 +250,17 @@ int cmp_type(const void *x, const void *y) * \param content The content to examine. * \return The RISC OS filetype corresponding to the content */ -int ro_content_filetype(struct content *content) +int ro_content_filetype(struct hlcache_handle *c) { int file_type; os_error *error; - file_type = ro_content_filetype_from_type(content->type); + file_type = ro_content_filetype_from_type(content_get_type(c)); if (file_type != 0) return file_type; - error = xmimemaptranslate_mime_type_to_filetype(content->mime_type, - (bits *) &file_type); + error = xmimemaptranslate_mime_type_to_filetype( + content_get_mime_type(c), (bits *) &file_type); if (error) return 0xffd; -- cgit v1.2.3