]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmltag.cpp
don't use cryptic buttons, it's bad UI
[wxWidgets.git] / src / html / htmltag.cpp
index 361aaa971a6df60fb0091481d9d18f0ec391a51e..e74bb142be4d77e3dc20acd895b572a928b53a2b 100644 (file)
@@ -4,7 +4,7 @@
 // Author:      Vaclav Slavik
 // RCS-ID:      $Id$
 // Copyright:   (c) 1999 Vaclav Slavik
-// Licence:     wxWindows Licence
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 
@@ -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 {