From a0002af9be23a4e9effeecee52bb65fd8963a4eb Mon Sep 17 00:00:00 2001 From: ntakahas Date: Tue, 30 Jun 2009 07:53:04 +0000 Subject: [PATCH] *** empty log message *** --- rearsensitive.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rearsensitive.cs b/rearsensitive.cs index d10f8cc..2848e08 100644 --- a/rearsensitive.cs +++ b/rearsensitive.cs @@ -9,7 +9,7 @@ public class Test const int DEPTH = 10; static MText mt = new MText ("0123456789"); static MSymbol key = MSymbol.PropertyKey ("rse", - MProperty.Flags.Sensitive); + MProperty.Flags.RearSensitive); static MSymbol val0 = MSymbol.Of ("0"); static MSymbol val1 = MSymbol.Of ("1"); static MSymbol val2 = MSymbol.Of ("2"); @@ -79,12 +79,16 @@ public class Test sym = valtable[from - 1]; for (i = from - 1; i >= 0 && valtable[i] == sym; i--) valtable[i] = null; + for (i = from; i < LENGTH && valtable[i] == sym; i++) + valtable[i] = null; } if (to < LENGTH && valtable[to - 1] != null) { sym = valtable[to - 1]; for (i = to - 1; i >= 0 && valtable[i] == sym; i--) valtable[i] = null; + for (i = to; i < LENGTH && valtable[i] == sym; i++) + valtable[i] = null; } // copy -- 1.7.10.4