X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..ea28b8853b8748ba94b71dd67c9d216db9ef0742:/src/html/m_fonts.cpp diff --git a/src/html/m_fonts.cpp b/src/html/m_fonts.cpp index 8582927cf7..7ec96a0b50 100644 --- a/src/html/m_fonts.cpp +++ b/src/html/m_fonts.cpp @@ -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();