diff options
| author | Bill Spitzak <spitzak@gmail.com> | 1999-05-25 05:33:56 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 1999-05-25 05:33:56 +0000 |
| commit | 1f19505573b57356c5913cc537865b4961daa1fc (patch) | |
| tree | a86c5960172470830b8ae212c1878a4da0672a5b /src/Fl_Tile.cxx | |
| parent | 4b341bc95abca4f3827c249ade7fee1abba8b5d0 (diff) | |
Bugfix from Matthias (thanks Matt)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@594 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Tile.cxx')
| -rw-r--r-- | src/Fl_Tile.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Fl_Tile.cxx b/src/Fl_Tile.cxx index d77832c46..1ba47b33c 100644 --- a/src/Fl_Tile.cxx +++ b/src/Fl_Tile.cxx @@ -1,5 +1,5 @@ // -// "$Id: Fl_Tile.cxx,v 1.5 1999/01/07 19:17:27 mike Exp $" +// "$Id: Fl_Tile.cxx,v 1.5.2.1 1999/05/25 05:33:56 bill Exp $" // // Tile widget for the Fast Light Tool Kit (FLTK). // @@ -39,7 +39,7 @@ void Fl_Tile::position(int oix, int oiy, int newx, int newy) { Fl_Widget*const* a = array(); short* p = sizes(); p += 8; // skip group & resizable's saved size - for (int i=children(); i--;) { + for (int i=children(); i--; p += 4) { Fl_Widget* o = *a++; if (o == resizable()) continue; int X = o->x(); @@ -59,7 +59,6 @@ void Fl_Tile::position(int oix, int oiy, int newx, int newy) { if (t == oiy || t>oiy && B<newy || t<oiy && B>newy) B = newy; } o->damage_resize(X,Y,R-X,B-Y); - p += 4; } } @@ -196,5 +195,5 @@ int Fl_Tile::handle(int event) { } // -// End of "$Id: Fl_Tile.cxx,v 1.5 1999/01/07 19:17:27 mike Exp $". +// End of "$Id: Fl_Tile.cxx,v 1.5.2.1 1999/05/25 05:33:56 bill Exp $". // |
