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(" ");