[Mono-list] (no subject)
Bryan Bulten
bryan@bulten.ca
Thu, 11 Dec 2003 17:00:40 -0800 (PST)
? Rectangle.diff
Index: Rectangle.cs
===================================================================
RCS file: /mono/mcs/class/System.Drawing/System.Drawing/Rectangle.cs,v
retrieving revision 1.4
diff -u -r1.4 Rectangle.cs
--- Rectangle.cs 13 Nov 2003 22:40:00 -0000 1.4
+++ Rectangle.cs 12 Dec 2003 00:49:54 -0000
@@ -13,6 +13,7 @@
namespace System.Drawing {
+ [Serializable]
[StructLayout(LayoutKind.Sequential)]
[ComVisible (true)]
[TypeConverter(typeof(RectangleConverter))]
@@ -109,8 +110,8 @@
{
x -= sz.Width;
y -= sz.Height;
- Width = sz.Width * 2;
- Height = sz.Height * 2;
+ Width += sz.Width * 2;
+ Height += sz.Height * 2;
}
/// <summary>