From 3405803280c9cafab0a4ef229faa4bc447e4c953 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 7 Nov 2014 12:33:34 +0000 Subject: Improve content encoding information API Extend the content_get_encoding() API to retrieve the source of the encoding as well as the actual encoding. --- desktop/browser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop/browser.c') diff --git a/desktop/browser.c b/desktop/browser.c index 528fb1fe5..c139cad28 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -1916,7 +1916,7 @@ nserror browser_window_navigate(struct browser_window *bw, post.data.urlenc = post_urlenc; } - child.charset = content_get_encoding(parent); + child.charset = content_get_encoding(parent, CONTENT_ENCODING_NORMAL); if ((parent != NULL) && (content_get_type(parent) == CONTENT_HTML)) { child.quirks = content_get_quirks(parent); } -- cgit v1.2.3