summaryrefslogtreecommitdiff
path: root/src/Fl_Tile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Fl_Tile.cxx')
-rw-r--r--src/Fl_Tile.cxx7
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 $".
//