summaryrefslogtreecommitdiff
path: root/content/content.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2007-03-03 19:46:20 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2007-03-03 19:46:20 +0000
commit73686886420f9588efc21befeb061c62545bfde9 (patch)
tree4ea69f6acd40557993c2cae9b83a46c91caa05f2 /content/content.c
parentcd3fb4a7cc3abde20e877fa919579d5936dc125f (diff)
downloadnetsurf-73686886420f9588efc21befeb061c62545bfde9.tar.gz
netsurf-73686886420f9588efc21befeb061c62545bfde9.tar.bz2
Dynamically update scale view (implement 1556975) and prevent double redraws.
svn path=/trunk/netsurf/; revision=3191
Diffstat (limited to 'content/content.c')
-rw-r--r--content/content.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/content/content.c b/content/content.c
index 7503e9d28..446f326db 100644
--- a/content/content.c
+++ b/content/content.c
@@ -489,6 +489,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.
*
* \param c content structure