diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-05-05 21:05:27 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-05-05 22:17:10 +0100 |
commit | 8474c5d4c0b59e74e2ef001b5033b78d7a99fcad (patch) | |
tree | 7263eabd9bcd9c8093a822e4f051d7bd9fc45830 /content/handlers/html | |
parent | 6952a239465811c26838e177d35222fd5229e393 (diff) | |
download | netsurf-8474c5d4c0b59e74e2ef001b5033b78d7a99fcad.tar.gz netsurf-8474c5d4c0b59e74e2ef001b5033b78d7a99fcad.tar.bz2 |
Logging: migrate and provide content interface
Migrate the console enums into netsurf/console.h and add
support so that contents can raise a message to log to
the console.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'content/handlers/html')
-rw-r--r-- | content/handlers/html/html.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content/handlers/html/html.c b/content/handlers/html/html.c index a47725ba4..4ffdb396a 100644 --- a/content/handlers/html/html.c +++ b/content/handlers/html/html.c @@ -2514,7 +2514,7 @@ static bool html_exec(struct content *c, const char *src, size_t srclen) dom_text *text_node; dom_node *spare_node; dom_html_script_element *script_node; - + if (htmlc->document == NULL) { NSLOG(netsurf, DEEPDEBUG, "Unable to exec, no document"); goto out_no_string; |