]> git.saurik.com Git - wxWidgets.git/commitdiff
removed useless code accidentally left in
authorVáclav Slavík <vslavik@fastmail.fm>
Mon, 12 Jul 2004 14:38:28 +0000 (14:38 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Mon, 12 Jul 2004 14:38:28 +0000 (14:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/helpfrm.cpp

index abcdb10dcf3a7ab39211dd6e22efcd509f678176..3530eb3f3e2abd5c1341d117425227ef18549a99 100644 (file)
@@ -1419,7 +1419,7 @@ void wxHtmlHelpFrame::OnToolbar(wxCommandEvent& event)
                         &m_Data->GetContentsArray()[ind];
                     while (ind >= 0 && it->level != level)
                     {
-                        ind--, it--;
+                        ind--;
                         it = &m_Data->GetContentsArray()[ind];
                     }
                     if (ind >= 0)