forked from KolibriOS/kolibrios
fix wrong title encoding at opennet.ru
git-svn-id: svn://kolibrios.org@7056 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
da7ba195ec
commit
47b22ed331
@ -295,8 +295,10 @@ void TWebBrowser::SetStyle() {
|
||||
debugln("Document has no information about encoding, UTF will be used");
|
||||
}
|
||||
if (opened) {
|
||||
if (!strcmp(#header, #version)) {
|
||||
ChangeCharset(charsets[cur_encoding], "CP866", #header);
|
||||
sprintf(#header, "%s - %s", #header, #version);
|
||||
}
|
||||
DrawTitle(#header);
|
||||
}
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user