diff options
Diffstat (limited to 'libjava/java/awt/Polygon.java')
-rw-r--r-- | libjava/java/awt/Polygon.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libjava/java/awt/Polygon.java b/libjava/java/awt/Polygon.java index e91144c..96c370a 100644 --- a/libjava/java/awt/Polygon.java +++ b/libjava/java/awt/Polygon.java @@ -294,7 +294,7 @@ public class Polygon implements Shape, Serializable else if (y > maxy) maxy = y; } - bounds = new Rectangle (minx, maxy, maxx - minx, maxy - miny); + bounds = new Rectangle (minx, miny, maxx - minx, maxy - miny); } return bounds; } |