previous DS' change was broken, reverted

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2003-11-10 15:49:46 +00:00
parent 50b24bf9dd
commit b5d464b982

View File

@@ -148,9 +148,8 @@ wxHtmlTagsCache::wxHtmlTagsCache(const wxString& source)
// found a match // found a match
if (match_pos == tag_len) { if (match_pos == tag_len) {
// These 2 lines commented: pos = pos - tag_len - 3;
//pos = pos - tag_len - 3; pos is not used outside of while loop stpos = pos;
//stpos = pos; Value is local to while loop, no need to set it
break; break;
} }
else { else {