]> git.saurik.com Git - wxWidgets.git/commitdiff
previous DS' change was broken, reverted
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 10 Nov 2003 15:49:46 +0000 (15:49 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 10 Nov 2003 15:49:46 +0000 (15:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmltag.cpp

index 361aaa971a6df60fb0091481d9d18f0ec391a51e..c14b39fe2d6f0b317ad6f462e89810293a5aad2a 100644 (file)
@@ -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 {