summaryrefslogtreecommitdiff
path: root/src/Fl_Group.cxx
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2018-03-30 10:11:24 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2018-03-30 10:11:24 +0000
commit69584dda96eeae60dbb4fe70a1b452e0effce224 (patch)
tree6ddea0f0cbe0f4906c9074849e1c25b1eb59427d /src/Fl_Group.cxx
parent59af6563dbd703f4755e95811f631bdb8297cee5 (diff)
Minimal code edit, no functional change.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12814 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Group.cxx')
-rw-r--r--src/Fl_Group.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_Group.cxx b/src/Fl_Group.cxx
index 8392f8bf4..a47eddaf9 100644
--- a/src/Fl_Group.cxx
+++ b/src/Fl_Group.cxx
@@ -3,7 +3,7 @@
//
// Group widget for the Fast Light Tool Kit (FLTK).
//
-// Copyright 1998-2017 by Bill Spitzak and others.
+// Copyright 1998-2018 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -763,11 +763,11 @@ void Fl_Group::resize(int X, int Y, int W, int H) {
if (L >= RR) L += dw;
else if (L > RL) L += dw * (L-RL) / (RR-RL);
if (R >= RR) R += dw;
- else if (R > RL) R = R + dw * (R-RL) / (RR-RL);
+ else if (R > RL) R += dw * (R-RL) / (RR-RL);
if (T >= RB) T += dh;
- else if (T > RT) T = T + dh * (T-RT) / (RB-RT);
+ else if (T > RT) T += dh * (T-RT) / (RB-RT);
if (B >= RB) B += dh;
- else if (B > RT) B = B + dh * (B-RT) / (RB-RT);
+ else if (B > RT) B += dh * (B-RT) / (RB-RT);
#endif // old / new (1.4.0++) widget resizing code