From 0475dc936334432f68be80cd1b34eb7261e90af0 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sun, 6 Feb 2005 00:03:00 +0000 Subject: Removed some redundant code in Fl_Group::handle() (STR #669) src/Fl_Group.cxx: - Don't need to check o->contains() twice. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4023 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_Group.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/Fl_Group.cxx b/src/Fl_Group.cxx index a3680a678..8655d53fe 100644 --- a/src/Fl_Group.cxx +++ b/src/Fl_Group.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Group.cxx,v 1.8.2.8.2.26 2004/12/03 03:14:16 easysw Exp $" +// "$Id$" // // Group widget for the Fast Light Tool Kit (FLTK). // @@ -162,7 +162,7 @@ int Fl_Group::handle(int event) { if (o->contains(Fl::belowmouse())) { return send(o,FL_MOVE); } else { - if (!o->contains(Fl::belowmouse())) Fl::belowmouse(o); + Fl::belowmouse(o); if (send(o,FL_ENTER)) return 1; } } @@ -593,5 +593,5 @@ void Fl_Group::draw_outside_label(const Fl_Widget& widget) const { } // -// End of "$Id: Fl_Group.cxx,v 1.8.2.8.2.26 2004/12/03 03:14:16 easysw Exp $". +// End of "$Id$". // -- cgit v1.2.3