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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user