From: Václav Slavík Date: Fri, 21 Mar 2008 21:19:09 +0000 (+0000) Subject: fixed TABs positioning inside
 so that tags don't throw it apart
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b23bb1f962436b7705cbd7386022c6774ef6d57f?ds=sidebyside

fixed TABs positioning inside 
 so that tags don't throw it apart

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/src/html/m_pre.cpp b/src/html/m_pre.cpp
index 5afcbbc6b7..026ae9c018 100644
--- a/src/html/m_pre.cpp
+++ b/src/html/m_pre.cpp
@@ -41,10 +41,8 @@ static wxString LINKAGEMODE HtmlizeWhitespaces(const wxString& str)
                 while (i < len && str[i] != wxT('>'))
                 {
                     out << str[i++];
-                    linepos++;
                 }
                 out << wxT('>');
-                linepos++;
                 break;
             case wxT(' '):
                 out << wxT(" ");