X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f9297b0eead20a0bfee71df18e0d8f0cbc402fb..98ec9dbebc5584ba1b903d314b25e8c562891483:/src/html/m_hline.cpp?ds=sidebyside 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();