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:
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user