Author: spouliot
Date: 2006-08-10 11:09:26 -0400 (Thu, 10 Aug 2006)
New Revision: 63595

Modified:
   trunk/mcs/class/System.Drawing/System.Drawing.Drawing2D/ChangeLog
   trunk/mcs/class/System.Drawing/System.Drawing.Drawing2D/GraphicsPath.cs
Log:
2006-08-10  Sebastien Pouliot  <[EMAIL PROTECTED]> 

        * GraphicsPath.cs: Fix unit tests wrt libgdiplus return value change.



Modified: trunk/mcs/class/System.Drawing/System.Drawing.Drawing2D/ChangeLog
===================================================================
--- trunk/mcs/class/System.Drawing/System.Drawing.Drawing2D/ChangeLog   
2006-08-10 15:08:41 UTC (rev 63594)
+++ trunk/mcs/class/System.Drawing/System.Drawing.Drawing2D/ChangeLog   
2006-08-10 15:09:26 UTC (rev 63595)
@@ -1,3 +1,7 @@
+2006-08-10  Sebastien Pouliot  <[EMAIL PROTECTED]> 
+
+       * GraphicsPath.cs: Fix unit tests wrt libgdiplus return value change.
+
 2006-08-07  Andrew Skiba <[EMAIL PROTECTED]>
 
        * Matrix.jvm.cs: TARGET_JVM fix

Modified: 
trunk/mcs/class/System.Drawing/System.Drawing.Drawing2D/GraphicsPath.cs
===================================================================
--- trunk/mcs/class/System.Drawing/System.Drawing.Drawing2D/GraphicsPath.cs     
2006-08-10 15:08:41 UTC (rev 63594)
+++ trunk/mcs/class/System.Drawing/System.Drawing.Drawing2D/GraphicsPath.cs     
2006-08-10 15:09:26 UTC (rev 63595)
@@ -893,9 +893,9 @@
                 {
                        if (pen == null)
                                throw new ArgumentNullException ("pen");
-#if ONLY_1_1
+#if NET_2_0
                        if (PointCount == 0)
-                               throw new OutOfMemoryException ();
+                               return;
 #endif
                        IntPtr m = (matrix == null) ? IntPtr.Zero : 
matrix.nativeMatrix;
 

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

Reply via email to