From: Mart Raudsepp Date: Mon, 6 Mar 2006 02:17:49 +0000 (+0000) Subject: Remove semicolon after if statmce that can potentially cause harm later. Patch #14438... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a5bb4f82930fc368188d56a4e11456abc93b272e Remove semicolon after if statmce that can potentially cause harm later. Patch #1443820 from Paul Cornett git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/notebook.cpp b/src/gtk/notebook.cpp index d9ea1aa400..55d9558f67 100644 --- a/src/gtk/notebook.cpp +++ b/src/gtk/notebook.cpp @@ -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++ )