wxHTML src code indentation now conforms (more) to wxWin coding style

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2000-11-05 14:59:59 +00:00
parent 1da7aa8c4a
commit 4f9297b0ee
23 changed files with 1437 additions and 1115 deletions

View File

@@ -47,13 +47,13 @@ TAG_HANDLER_BEGIN(META, "META")
if (content.Left(19) == _T("text/html; charset="))
{
wxFontEncoding enc =
wxTheFontMapper -> CharsetToEncoding(content.Mid(19));
wxTheFontMapper->CharsetToEncoding(content.Mid(19));
if (enc == wxFONTENCODING_SYSTEM) return FALSE;
if (enc == m_WParser -> GetInputEncoding()) return FALSE;
if (enc == m_WParser->GetInputEncoding()) return FALSE;
m_WParser -> SetInputEncoding(enc);
m_WParser -> GetContainer() -> InsertCell(
new wxHtmlFontCell(m_WParser -> CreateCurrentFont()));
m_WParser->SetInputEncoding(enc);
m_WParser->GetContainer()->InsertCell(
new wxHtmlFontCell(m_WParser->CreateCurrentFont()));
}
}
return FALSE;