Author: spouliot
Date: 2007-06-21 09:10:30 -0400 (Thu, 21 Jun 2007)
New Revision: 80466

Modified:
   trunk/libgdiplus/src/ChangeLog
   trunk/libgdiplus/src/customlinecap.c
Log:
2007-06-21  Sebastien Pouliot  <[EMAIL PROTECTED]>

        * customlinecap.c: Fix #81829 to allow either a fill or stroke path 
        when creating a GpCustomLineCap.



Modified: trunk/libgdiplus/src/ChangeLog
===================================================================
--- trunk/libgdiplus/src/ChangeLog      2007-06-21 13:09:49 UTC (rev 80465)
+++ trunk/libgdiplus/src/ChangeLog      2007-06-21 13:10:30 UTC (rev 80466)
@@ -1,3 +1,8 @@
+2007-06-21  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * customlinecap.c: Fix #81829 to allow either a fill or stroke path 
+       when creating a GpCustomLineCap.
+
 2007-06-21  Sebastien Pouliot  <[EMAIL PROTECTED]> 
 
        * codecs.h, GdiPlusFlat.h, image.h, dstream.c: Fix #81845 to allow 

Modified: trunk/libgdiplus/src/customlinecap.c
===================================================================
--- trunk/libgdiplus/src/customlinecap.c        2007-06-21 13:09:49 UTC (rev 
80465)
+++ trunk/libgdiplus/src/customlinecap.c        2007-06-21 13:10:30 UTC (rev 
80466)
@@ -129,7 +129,7 @@
 {
        GpCustomLineCap *cap;
 
-       if (!fillPath || !strokePath || !customCap)
+       if ((!fillPath && !strokePath) || !customCap)
                return InvalidParameter;
 
        cap = gdip_custom_linecap_new ();

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

Reply via email to