summaryrefslogtreecommitdiff
path: root/riscos/menus.c
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/menus.c')
-rw-r--r--riscos/menus.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/riscos/menus.c b/riscos/menus.c
index f682621b8..588a0bd50 100644
--- a/riscos/menus.c
+++ b/riscos/menus.c
@@ -933,10 +933,10 @@ void ro_gui_menu_prepare_pageinfo(struct gui_window *g)
sprintf(icon_buf, "file_xxx");
if (content_get_type(h) == CONTENT_HTML) {
- if (c->data.html.encoding) {
- enc_token[8] = '0' + c->data.html.encoding_source;
+ if (html_get_encoding(h)) {
+ enc_token[8] = '0' + html_get_encoding_source(h);
snprintf(enc_buf, sizeof enc_buf, "%s (%s)",
- c->data.html.encoding,
+ html_get_encoding(h),
messages_get(enc_token));
enc = enc_buf;
} else {