]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmltag.cpp
added wxTextCtrl::HitTest(); implemented it for MSW
[wxWidgets.git] / src / html / htmltag.cpp
index 361aaa971a6df60fb0091481d9d18f0ec391a51e..c24739b189aa844dbe07f2b6993394052763611a 100644 (file)
@@ -148,9 +148,7 @@ 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;
                             break;
                         }
                         else {