]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_links.cpp
another segfault fix
[wxWidgets.git] / src / html / m_links.cpp
index 4ac7d3251c292ab395f9c7f372264923a6d316d5..588180f01e37fec2d8a88772854f650199e9385f 100644 (file)
 #endif
 
 #ifndef WXPRECOMP
 #endif
 
 #ifndef WXPRECOMP
-#include "wx/wx.h"
 #endif
 
 #endif
 
-
 #include "wx/html/forcelnk.h"
 #include "wx/html/m_templ.h"
 
 #include "wx/html/forcelnk.h"
 #include "wx/html/m_templ.h"
 
@@ -55,12 +53,12 @@ TAG_HANDLER_BEGIN(A, "A")
     TAG_HANDLER_PROC(tag)
     {
         if (tag.HasParam("NAME"))
     TAG_HANDLER_PROC(tag)
     {
         if (tag.HasParam("NAME"))
-           {
+        {
             m_WParser->GetContainer()->InsertCell(new wxHtmlAnchorCell(tag.GetParam("NAME")));
         }
 
             m_WParser->GetContainer()->InsertCell(new wxHtmlAnchorCell(tag.GetParam("NAME")));
         }
 
-        if (tag.HasParam("HREF")) 
-           {
+        if (tag.HasParam("HREF"))
+        {
             wxHtmlLinkInfo oldlnk = m_WParser->GetLink();
             wxColour oldclr = m_WParser->GetActualColor();
             int oldund = m_WParser->GetFontUnderlined();
             wxHtmlLinkInfo oldlnk = m_WParser->GetLink();
             wxColour oldclr = m_WParser->GetActualColor();
             int oldund = m_WParser->GetFontUnderlined();