summaryrefslogtreecommitdiff
path: root/content/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'content/handlers')
-rw-r--r--content/handlers/html/html_interaction.c2
-rw-r--r--content/handlers/html/search.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/content/handlers/html/html_interaction.c b/content/handlers/html/html_interaction.c
index 1eedf1b8f..330dd24d0 100644
--- a/content/handlers/html/html_interaction.c
+++ b/content/handlers/html/html_interaction.c
@@ -1101,7 +1101,7 @@ void html_mouse_action(struct content *c, struct browser_window *bw,
}
if (res != NSERROR_OK) {
- guit->misc->warning(messages_get_errorcode(res), NULL);
+ NSLOG(netsurf, ERROR, "%s", messages_get_errorcode(res));
}
}
diff --git a/content/handlers/html/search.c b/content/handlers/html/search.c
index 3599951a7..1e2fa04f7 100644
--- a/content/handlers/html/search.c
+++ b/content/handlers/html/search.c
@@ -87,13 +87,11 @@ search_create_context(struct content *c, content_type type, void *gui_data)
context = malloc(sizeof(struct search_context));
if (context == NULL) {
- guit->misc->warning("NoMemory", 0);
return NULL;
}
search_head = malloc(sizeof(struct list_entry));
if (search_head == NULL) {
- guit->misc->warning("NoMemory", 0);
free(context);
return NULL;
}