summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-11-07 12:33:34 +0000
committerVincent Sanders <vince@kyllikki.org>2014-11-07 12:33:34 +0000
commit3405803280c9cafab0a4ef229faa4bc447e4c953 (patch)
treeac7d85272d21ec15cec1825a2ea6b43f7b4cf11b /desktop
parent6993e842d902e363d44014fa514c91ca30896555 (diff)
downloadnetsurf-3405803280c9cafab0a4ef229faa4bc447e4c953.tar.gz
netsurf-3405803280c9cafab0a4ef229faa4bc447e4c953.tar.bz2
Improve content encoding information API
Extend the content_get_encoding() API to retrieve the source of the encoding as well as the actual encoding.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/browser.c2
1 files changed, 1 insertions, 1 deletions
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);
}