summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorJohn Tytgat <joty@netsurf-browser.org>2004-05-09 16:49:53 +0000
committerJohn Tytgat <joty@netsurf-browser.org>2004-05-09 16:49:53 +0000
commit226c002d574e9e366ee9782675063c835b0d1a5c (patch)
tree7079c449b87f7309241b393b46d6f632984090b5 /riscos
parentf29ad7e2662ff12d2c07c261c5c4e77ce0ac87c5 (diff)
downloadnetsurf-226c002d574e9e366ee9782675063c835b0d1a5c.tar.gz
netsurf-226c002d574e9e366ee9782675063c835b0d1a5c.tar.bz2
[project @ 2004-05-09 16:49:53 by joty]
Type change of struct content_html.encoding from xmlCharEncoding to xmlChar; Pickup Content-Type charset in the HTML file and use this if the server didn't send it or there was no server involved (e.g. HTML loading from disk). svn path=/import/netsurf/; revision=846
Diffstat (limited to 'riscos')
-rw-r--r--riscos/menus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/riscos/menus.c b/riscos/menus.c
index a7d49a140..41f08007b 100644
--- a/riscos/menus.c
+++ b/riscos/menus.c
@@ -832,8 +832,8 @@ void ro_gui_menu_pageinfo(wimp_message_menu_warning *warning)
sprintf(icon_buf, "file_%x", ro_content_filetype(c));
- if (c->type == CONTENT_HTML && c->data.html.encoding != 0) {
- enc = xmlGetCharEncodingName(c->data.html.encoding);
+ if (c->type == CONTENT_HTML && c->data.html.encoding != NULL) {
+ enc = c->data.html.encoding;
}
ro_gui_set_icon_string(dialog_pageinfo, ICON_PAGEINFO_ICON, icon);