]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_hline.cpp
Updated MicroWindows makefile
[wxWidgets.git] / src / html / m_hline.cpp
index 3eee42e318f5c2cc79125d9146034bbb92938407..77f4abcb64de1a436a25d1ba66b98e5c1be99a3e 100644 (file)
@@ -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();