summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
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 ada46cdd3..b075bcb15 100644
--- a/desktop/browser.c
+++ b/desktop/browser.c
@@ -1907,8 +1907,8 @@ nserror browser_window_navigate(struct browser_window *bw,
post.data.urlenc = post_urlenc;
}
+ child.charset = content_get_encoding(parent);
if ((parent != NULL) && (content_get_type(parent) == CONTENT_HTML)) {
- child.charset = html_get_encoding(parent);
child.quirks = content_get_quirks(parent);
}