X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f9297b0eead20a0bfee71df18e0d8f0cbc402fb..f0b22b4a039b5797b94ecde35e2b67f6716c9e84:/src/html/m_hline.cpp diff --git a/src/html/m_hline.cpp b/src/html/m_hline.cpp index 3eee42e318..77f4abcb64 100644 --- a/src/html/m_hline.cpp +++ b/src/html/m_hline.cpp @@ -80,7 +80,7 @@ TAG_HANDLER_BEGIN(HR, "HR") c->SetAlign(tag); c->SetWidthFloat(tag); sz = 1; - if (tag.HasParam(wxT("SIZE")) && tag.ScanParam(wxT("SIZE"), wxT("%i"), &sz) == 1) {} + tag.GetParamAsInt(wxT("SIZE"), &sz); c->InsertCell(new wxHtmlLineCell((int)((double)sz * m_WParser->GetPixelScale()))); m_WParser->CloseContainer();