From 14008b11d006c260c3c792646bb9f0389fa55d0e Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Wed, 7 Apr 2010 13:14:00 +0000 Subject: Fix page info for new cache. svn path=/trunk/netsurf/; revision=10270 --- riscos/menus.c | 6 +++--- 1 file 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 { -- cgit v1.2.3