X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01dba85a7fc9a1103f866c7c3a5cc72f21c0784e..84e4a8257d13231b4a5b225364f2c8722fc4f11e:/src/html/m_layout.cpp diff --git a/src/html/m_layout.cpp b/src/html/m_layout.cpp index 38f89940e6..af040afe95 100644 --- a/src/html/m_layout.cpp +++ b/src/html/m_layout.cpp @@ -39,7 +39,7 @@ TAG_HANDLER_BEGIN(P, "P") if (m_WParser -> GetContainer() -> GetFirstCell() != NULL) { m_WParser -> CloseContainer(); m_WParser -> OpenContainer(); - } + } m_WParser -> GetContainer() -> SetIndent(m_WParser -> GetCharHeight(), wxHTML_INDENT_TOP); m_WParser -> GetContainer() -> SetAlign(tag); return FALSE; @@ -60,6 +60,7 @@ TAG_HANDLER_BEGIN(BR, "BR") c = m_WParser -> OpenContainer(); c -> SetAlignHor(al); c -> SetAlign(tag); + c -> SetMinHeight(m_WParser -> GetCharHeight()); return FALSE; }