diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-02-06 00:03:00 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2005-02-06 00:03:00 +0000 |
| commit | 0475dc936334432f68be80cd1b34eb7261e90af0 (patch) | |
| tree | 84d808fe20454f0cd917c686a0940495b1d690e0 /src | |
| parent | 01e47d8f247c9c2d41c5229ac582145a631752f7 (diff) | |
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
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Group.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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$". // |
