? 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>
_______________________________________________
Mono-list maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list
- [Mono-list] (no subject) Johannes Roith
- [Mono-list] (no subject) He HongFu
- Re: [Mono-list] (no subject) Miguel de Icaza
- [Mono-list] (no subject) ahafeel
- Re: [Mono-list] (no subject) Jaroslaw Kowalski
- [Mono-list] (no subject) Francesco Mariotto
- Re: [Mono-list] (no subject) Gonzalo Paniagua Javier
- [Mono-list] (no subject) Robert A. Jenkin
- Re: [Mono-list] (no subject) yoros
- Re: [Mono-list] (no subject) Lluis Sanchez
- Re: [Mono-list] (no subject) (System.Drawing.Recta... Bryan Bulten
- Re: [Mono-list] (no subject) (System.Drawing.... Bryan Bulten
- [Mono-list] (no subject) Deepak Jois
- Re: [Mono-list] (no subject) [CookComputing] Pablo Fischer
- [Mono-list] (no subject) sajid pk
- [Mono-list] (no subject) sajid pk
- [Mono-list] Re: No Subject Miguel de Icaza
- [Mono-list] (no subject) Micah Martin
- [Mono-list] Build fails on OS X 10.3 Micah Martin
- [Mono-list] (no subject) Guru K Moorthi
