]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed TABs positioning inside <pre> so that tags don't throw it apart
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 21 Mar 2008 21:19:09 +0000 (21:19 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 21 Mar 2008 21:19:09 +0000 (21:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/m_pre.cpp

index 5afcbbc6b75964cb1c93a3aa2bac791647a3acaf..026ae9c01860ac398c8de459eea650f14df03cd7 100644 (file)
@@ -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("&nbsp;");