mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-02-26 11:24:57 +03:00
Fix page info for new cache.
svn path=/trunk/netsurf/; revision=10270
This commit is contained in:
parent
9e52f10529
commit
14008b11d0
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user