Author: pbartok
Date: 2005-05-02 10:20:43 -0400 (Mon, 02 May 2005)
New Revision: 43886

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/LinkLabel.cs
Log:
2005-05-02  Peter Bartok  <[EMAIL PROTECTED]>

        * LinkLabel.cs: Fixed the fixes from r43566 and 43521



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2005-05-02 14:05:01 UTC (rev 43885)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2005-05-02 14:20:43 UTC (rev 43886)
@@ -1,3 +1,7 @@
+2005-05-02  Peter Bartok  <[EMAIL PROTECTED]>
+
+       * LinkLabel.cs: Fixed the fixes from r43566 and 43521
+
 2005-04-29  Jackson Harper  <[EMAIL PROTECTED]>
 
        * ThemeWin32Classic.cs: Don't clear the GC that will clear the

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/LinkLabel.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/LinkLabel.cs     
2005-05-02 14:05:01 UTC (rev 43885)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/LinkLabel.cs     
2005-05-02 14:20:43 UTC (rev 43886)
@@ -84,7 +84,7 @@
 
                public LinkLabel ()
                {
-                       LinkArea = new LinkArea (0, 0);
+                       LinkArea = new LinkArea (0, -1);
                        link_behavior = LinkBehavior.SystemDefault;
                        link_visited = false;
                        link_click = false;
@@ -150,7 +150,7 @@
                        get { return link_area;}
                        set {
 
-                               if (value.Start <0 || value.Length < 0)
+                               if (value.Start <0 || value.Length < -1)
                                        throw new ArgumentException ();
 
                                if (!value.IsEmpty)

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to