*** empty log message ***
authorntakahas <ntakahas>
Tue, 30 Jun 2009 12:26:12 +0000 (12:26 +0000)
committerntakahas <ntakahas>
Tue, 30 Jun 2009 12:26:12 +0000 (12:26 +0000)
frontsensitive.cs

index 587d903..86193c8 100644 (file)
@@ -134,11 +134,14 @@ public class Test
 
     DebugDump (3);
     // sensitivity for insertion
-    if (from2 > 0 && prop[from2 - 1] == prop[from2] && prop[from2] != -1)
+    if (prop[from2] != -1)
       {
        n = end[prop[from2]];
-       for (i = prop[from2 - 1] == prop[from2] ? prop[from2] : from2;
-            i < n; i++)
+       if (from2 > 0 && prop[from2 - 1] == prop[from2])
+         i = prop[from2];
+       else
+         i = from2;
+       for (; i < n; i++)
          prop[i] = -1;
       }