Author: toshok
Date: 2007-06-19 13:12:02 -0400 (Tue, 19 Jun 2007)
New Revision: 80204

Modified:
   trunk/moon/src/ChangeLog
   trunk/moon/src/xaml.cpp
Log:
2007-06-19  Chris Toshok  <[EMAIL PROTECTED]>

        * xaml.cpp (timespan_from_str): don't walk off the end of the
        string.



Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog    2007-06-19 17:08:38 UTC (rev 80203)
+++ trunk/moon/src/ChangeLog    2007-06-19 17:12:02 UTC (rev 80204)
@@ -1,3 +1,8 @@
+2007-06-19  Chris Toshok  <[EMAIL PROTECTED]>
+
+       * xaml.cpp (timespan_from_str): don't walk off the end of the
+       string.
+
 2007-06-19  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>
 
        * animation.h|cpp: Remove pureness from KeyFrame::InterpolateValue.

Modified: trunk/moon/src/xaml.cpp
===================================================================
--- trunk/moon/src/xaml.cpp     2007-06-19 17:08:38 UTC (rev 80203)
+++ trunk/moon/src/xaml.cpp     2007-06-19 17:12:02 UTC (rev 80204)
@@ -744,7 +744,7 @@
        while (next && di < 5) {
                int d =  strtol (next, &next, 10);
                digits [di++] = d;
-               if (next)
+               if (next && *next)
                        next++;
        }
 

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

Reply via email to