Author: stephane
Date: 2008-02-08 06:32:37 -0500 (Fri, 08 Feb 2008)
New Revision: 95236

Modified:
   trunk/moon/src/brush.cpp
Log:
stupid me

Modified: trunk/moon/src/brush.cpp
===================================================================
--- trunk/moon/src/brush.cpp    2008-02-08 11:09:14 UTC (rev 95235)
+++ trunk/moon/src/brush.cpp    2008-02-08 11:32:37 UTC (rev 95236)
@@ -641,7 +641,7 @@
                cairo_matrix_multiply (&matrix, &matrix, &tm);
        }
 
-       if (offset.x != 0.0 && offset.y != 0.0) {
+       if (offset.x != 0.0 || offset.y != 0.0) {
                cairo_matrix_init_translate (&offset_matrix, offset.x, 
offset.y);
                cairo_matrix_multiply (&matrix, &matrix, &offset_matrix);
        }

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

Reply via email to