diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2012-03-25 08:37:48 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2012-03-25 08:37:48 +0000 |
commit | 2b215a8df111ef2d1a16a3205188ffefdb558811 (patch) | |
tree | 42164a1f4a493198a780c05f5cf2bed8c42d96cf /render/html.c | |
parent | 19150f13efd381a9164f1aa478a61c531b4eab35 (diff) | |
download | netsurf-2b215a8df111ef2d1a16a3205188ffefdb558811.tar.gz netsurf-2b215a8df111ef2d1a16a3205188ffefdb558811.tar.bz2 |
Initialise/finalise box constructor string constants
svn path=/trunk/netsurf/; revision=13653
Diffstat (limited to 'render/html.c')
-rw-r--r-- | render/html.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/render/html.c b/render/html.c index b4945cd98..f86595e1a 100644 --- a/render/html.c +++ b/render/html.c @@ -3002,6 +3002,7 @@ static content_type html_content_type(void) static void html_fini(void) { + box_construct_fini(); #define HTML_DOM_STRING_UNREF(NAME) \ do { \ @@ -3150,6 +3151,10 @@ nserror html_init(void) if ((exc != DOM_NO_ERR) || (html_dom_string_http_equiv == NULL)) goto error; + error = box_construct_init(); + if (error != NSERROR_OK) + goto error; + for (i = 0; i < NOF_ELEMENTS(html_types); i++) { error = content_factory_register_handler(html_types[i], &html_content_handler); |