X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/daa084c239b94dd49f73952008ea8e36dba6c9c4..1e1ca6f0b25e1142a6d9ca496b68ec6649df5d69:/src/html/helpdata.cpp diff --git a/src/html/helpdata.cpp b/src/html/helpdata.cpp index 8250d38e49..fe9dfbcff2 100644 --- a/src/html/helpdata.cpp +++ b/src/html/helpdata.cpp @@ -142,6 +142,7 @@ bool HP_TagHandler::HandleTag(const wxHtmlTag& tag) m_Items = (wxHtmlContentsItem*) realloc(m_Items, (m_ItemsCnt + wxHTML_REALLOC_STEP) * sizeof(wxHtmlContentsItem)); + m_Items[m_ItemsCnt].m_Level = m_Level; m_Items[m_ItemsCnt].m_ID = m_ID; m_Items[m_ItemsCnt].m_Page = new wxChar[m_Page.Length() + 1];