]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_hline.cpp
Catching up to latest thread changes
[wxWidgets.git] / src / html / m_hline.cpp
index 9cc57b8ede7a24ae63b88b409982adb31c102d1a..c4099f34a4187ec949ac3b3c6dab171d1d2b0b19 100644 (file)
@@ -11,7 +11,7 @@
 #pragma implementation
 #endif
 
-#include <wx/wxprec.h>
+#include "wx/wxprec.h"
 
 
 #include "wx/defs.h"
@@ -21,7 +21,7 @@
 #endif
 
 #ifndef WXPRECOMP
-#include <wx/wx.h>
+#include "wx/wx.h"
 #endif
 
 
@@ -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();