summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-12-14 23:17:50 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2013-12-14 23:17:50 +0000
commitcde62790f6ac1d19fd2808c8413832f4da5ae7b0 (patch)
tree552e5acd1f4dac09b55880aa173444b1b1018d64 /render
parentfabc086d4a30fa2b989d0d30a58b2b174a0e21ac (diff)
downloadnetsurf-cde62790f6ac1d19fd2808c8413832f4da5ae7b0.tar.gz
netsurf-cde62790f6ac1d19fd2808c8413832f4da5ae7b0.tar.bz2
Update for new lpu API.
Diffstat (limited to 'render')
-rw-r--r--render/textplain.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/render/textplain.c b/render/textplain.c
index 10cf16a71..892e03e57 100644
--- a/render/textplain.c
+++ b/render/textplain.c
@@ -283,12 +283,11 @@ nserror textplain_create_internal(textplain_content *c, lwc_string *encoding)
goto no_memory;
error = parserutils_inputstream_create(lwc_string_data(encoding), 0,
- textplain_charset_hack, ns_realloc, NULL, &stream);
+ textplain_charset_hack, &stream);
if (error == PARSERUTILS_BADENCODING) {
/* Fall back to Windows-1252 */
error = parserutils_inputstream_create("Windows-1252", 0,
- textplain_charset_hack, ns_realloc, NULL,
- &stream);
+ textplain_charset_hack, &stream);
}
if (error != PARSERUTILS_OK) {
free(utf8_data);