Remove semicolon after if statmce that can potentially cause harm later. Patch #14438...
authorMart Raudsepp <leio@gentoo.org>
Mon, 6 Mar 2006 02:17:49 +0000 (02:17 +0000)
committerMart Raudsepp <leio@gentoo.org>
Mon, 6 Mar 2006 02:17:49 +0000 (02:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/notebook.cpp

index d9ea1aa400a9a5fe5668eeece5901beca137c58c..55d9558f67affc01239497ef7ec6daaf28a59bf0 100644 (file)
@@ -748,7 +748,7 @@ int wxNotebook::HitTest(const wxPoint& pt, long *flags) const
     size_t i = 0;
 
     GtkNotebook * notebook = GTK_NOTEBOOK(m_widget);
-    if (gtk_notebook_get_scrollable(notebook));
+    if (gtk_notebook_get_scrollable(notebook))
         i = g_list_position( notebook->children, notebook->first_tab );
 
     for ( ; i < count; i++ )