Author: jackson
Date: 2007-06-04 03:03:14 -0400 (Mon, 04 Jun 2007)
New Revision: 78536

Modified:
   trunk/moon/src/ChangeLog
   trunk/moon/src/shape.cpp
Log:

        * shape.cpp: Fix typo, need to set line_* not x1, x2, etc.



Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2007-06-04 06:44:30 UTC (rev 78535)
+++ trunk/moon/src/ChangeLog    2007-06-04 07:03:14 UTC (rev 78536)
@@ -2,6 +2,7 @@
 
        * xaml.cpp: remove old no longer used function.
        - track whether or not we are adding to a panel instead of surface
+       * shape.cpp: Fix typo, need to set line_* not x1, x2, etc.
 
 2007-06-04  Jackson Harper  <[EMAIL PROTECTED]>
 

Modified: trunk/moon/src/shape.cpp
===================================================================
--- trunk/moon/src/shape.cpp    2007-06-04 06:44:30 UTC (rev 78535)
+++ trunk/moon/src/shape.cpp    2007-06-04 07:03:14 UTC (rev 78536)
@@ -150,13 +150,13 @@
 Line::set_prop_from_str (const char *prop, const char *value)
 {
        if (!g_strcasecmp (prop, "x1"))
-               x1 = (int) strtod (value, NULL);
+               line_x1 = (int) strtod (value, NULL);
        else if (!g_strcasecmp (prop, "y1"))
-               y1 = (int) strtod (value, NULL);
+               line_y1 = (int) strtod (value, NULL);
        else if (!g_strcasecmp (prop, "x2"))
-               x2 = (int) strtod (value, NULL);
+               line_x2 = (int) strtod (value, NULL);
        else if (!g_strcasecmp (prop, "y2"))
-               y2 = (int) strtod (value, NULL);
+               line_y2 = (int) strtod (value, NULL);
        else
                Shape::set_prop_from_str (prop, value);
 }

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

Reply via email to