From b5c0823c8c6cada733f06c54e224b4f1342c1c00 Mon Sep 17 00:00:00 2001 From: ntakahas Date: Tue, 30 Jun 2009 12:26:12 +0000 Subject: [PATCH] *** empty log message *** --- frontsensitive.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/frontsensitive.cs b/frontsensitive.cs index 587d903..86193c8 100644 --- a/frontsensitive.cs +++ b/frontsensitive.cs @@ -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; } -- 1.7.10.4