From 73686886420f9588efc21befeb061c62545bfde9 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Sat, 3 Mar 2007 19:46:20 +0000 Subject: Dynamically update scale view (implement 1556975) and prevent double redraws. svn path=/trunk/netsurf/; revision=3191 --- content/content.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'content/content.c') diff --git a/content/content.c b/content/content.c index 7503e9d28..446f326db 100644 --- a/content/content.c +++ b/content/content.c @@ -488,6 +488,17 @@ struct content * content_get_ready(const char *url) } +/** + * Get whether a content can reformat + * + * \param c content to check + * \return whether the content can reformat + */ +bool content_get_reformat(struct content *c) { + return (handler_map[c->type].reformat != NULL); +} + + /** * Initialise the content for the specified type. * -- cgit v1.2.3