From b5d464b982709f072939b2bcd51861371d2a11bf Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 10 Nov 2003 15:49:46 +0000 Subject: [PATCH] previous DS' change was broken, reverted git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/htmltag.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 { -- 2.45.2