X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/955c525d2c9fd998494f52e4592db56ad4e0b990..f9007c324c9b4f6288156dcf0b865090ee0c0c38:/src/html/m_fonts.cpp?ds=sidebyside diff --git a/src/html/m_fonts.cpp b/src/html/m_fonts.cpp index 0014a38ed8..7ec96a0b50 100644 --- a/src/html/m_fonts.cpp +++ b/src/html/m_fonts.cpp @@ -16,7 +16,7 @@ #include "wx/defs.h" #if wxUSE_HTML && wxUSE_STREAMS -#ifdef __BORDLANDC__ +#ifdef __BORLANDC__ #pragma hdrstop #endif @@ -31,7 +31,7 @@ FORCE_LINK_ME(m_fonts) -TAG_HANDLER_BEGIN(FONT, "FONT") +TAG_HANDLER_BEGIN(FONT, "FONT" ) TAG_HANDLER_VARS wxArrayString m_Faces; @@ -246,7 +246,7 @@ TAG_HANDLER_BEGIN(Hx, "H1,H2,H3,H4,H5,H6") } c = m_WParser->GetContainer(); - if (c->GetFirstCell()) + if (c->GetFirstChild()) { m_WParser->CloseContainer(); m_WParser->OpenContainer();