X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3096bd2fa7b88105bc54c08e3c878585de1a9b91..0240e8b1aa935d43689b0b8ec36de3c06c1a4758:/src/html/m_hline.cpp diff --git a/src/html/m_hline.cpp b/src/html/m_hline.cpp index 5a58178972..c4099f34a4 100644 --- a/src/html/m_hline.cpp +++ b/src/html/m_hline.cpp @@ -79,8 +79,8 @@ TAG_HANDLER_BEGIN(HR, "HR") c -> SetAlignHor(wxHTML_ALIGN_CENTER); c -> SetAlign(tag); c -> SetWidthFloat(tag); + sz = 1; if (tag.HasParam(wxT("SIZE")) && tag.ScanParam(wxT("SIZE"), wxT("%i"), &sz) == 1) {} - else sz = 1; c -> InsertCell(new wxHtmlLineCell(sz)); m_WParser -> CloseContainer();