]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/mod_hline.cpp
serbase.cpp added to the list of files
[wxWidgets.git] / src / html / mod_hline.cpp
index b8af76bdbe5f16d92c196815792238f89210dc49..7bada2919b750a7c82d05eb5dae8e0e66952bb79 100644 (file)
@@ -78,7 +78,7 @@ TAG_HANDLER_BEGIN(HR, "HR")
         c -> SetAlignHor(HTML_ALIGN_CENTER);
         c -> SetAlign(tag);
         c -> SetWidthFloat(tag);
-        if (tag.HasParam("SIZE")) tag.ScanParam("SIZE", "%i", &sz);
+        if (tag.HasParam("SIZE") && tag.ScanParam("SIZE", "%i", &sz) == 1) {}
         else sz = 1;
         c -> InsertCell(new wxHtmlLineCell(sz));