summaryrefslogtreecommitdiff
path: root/content/handlers/html/html.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-11-07 21:35:24 +0000
committerVincent Sanders <vince@kyllikki.org>2019-11-07 21:35:24 +0000
commite95c11dac89e39634aa9fa82a13ac780740122ee (patch)
treecbf9059fd8c80a844fe19487b53467dae665f9f2 /content/handlers/html/html.c
parent0dbc6e5ecdc3a4ec97fd65876051577e53fc1873 (diff)
downloadnetsurf-e95c11dac89e39634aa9fa82a13ac780740122ee.tar.gz
netsurf-e95c11dac89e39634aa9fa82a13ac780740122ee.tar.bz2
remove user warning and log error instead
Diffstat (limited to 'content/handlers/html/html.c')
-rw-r--r--content/handlers/html/html.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/content/handlers/html/html.c b/content/handlers/html/html.c
index 33dcf2aaa..88c77fdd0 100644
--- a/content/handlers/html/html.c
+++ b/content/handlers/html/html.c
@@ -2296,10 +2296,11 @@ static bool html_drop_file_at_point(struct content *c, int x, int y, char *file)
ret = guit->utf8->local_to_utf8(buffer, file_len, &utf8_buff);
if (ret != NSERROR_OK) {
/* bad encoding shouldn't happen */
+ NSLOG(netsurf, ERROR,
+ "local to utf8 encoding failed (%s)",
+ messages_get_errorcode(ret));
assert(ret != NSERROR_BAD_ENCODING);
- NSLOG(netsurf, INFO, "local to utf8 encoding failed");
free(buffer);
- guit->misc->warning("NoMemory", NULL);
return true;
}