From: Václav Slavík Date: Mon, 10 Nov 2003 15:49:46 +0000 (+0000) Subject: previous DS' change was broken, reverted X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b5d464b982709f072939b2bcd51861371d2a11bf previous DS' change was broken, reverted git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/html/htmltag.cpp b/src/html/htmltag.cpp index 361aaa971a..c14b39fe2d 100644 --- a/src/html/htmltag.cpp +++ b/src/html/htmltag.cpp @@ -148,9 +148,8 @@ wxHtmlTagsCache::wxHtmlTagsCache(const wxString& source) // found a match if (match_pos == tag_len) { - // These 2 lines commented: - //pos = pos - tag_len - 3; pos is not used outside of while loop - //stpos = pos; Value is local to while loop, no need to set it + pos = pos - tag_len - 3; + stpos = pos; break; } else {