mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-24 04:56:50 +03:00
Ensure page encoding isn't trampled.
svn path=/trunk/netsurf/; revision=3027
This commit is contained in:
parent
b6c8e435cd
commit
2d4276ee41
@ -201,6 +201,9 @@ bool html_set_parser_encoding(struct content *c, const char *encoding)
|
||||
return false;
|
||||
}
|
||||
|
||||
/* Ensure noone else attempts to reset the encoding */
|
||||
html->getenc = false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user