summaryrefslogtreecommitdiff
path: root/src/cli/runtime/PersistentArray.cs
diff options
context:
space:
mode:
authorRich Hickey <richhickey@gmail.com>2006-06-21 14:23:20 +0000
committerRich Hickey <richhickey@gmail.com>2006-06-21 14:23:20 +0000
commite01aaa3dd9e0a33f45d691675b7b5d3a55edd463 (patch)
tree7668f7d254befc96265a8e34c5f7b1bc370c36d0 /src/cli/runtime/PersistentArray.cs
parent2833558bb5b06956ac07b0fd7d91b2adb3f188e4 (diff)
bug fix in trim()
Diffstat (limited to 'src/cli/runtime/PersistentArray.cs')
-rw-r--r--src/cli/runtime/PersistentArray.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cli/runtime/PersistentArray.cs b/src/cli/runtime/PersistentArray.cs
index a9d81e5d..4b83dfea 100644
--- a/src/cli/runtime/PersistentArray.cs
+++ b/src/cli/runtime/PersistentArray.cs
@@ -359,7 +359,7 @@ private void trim(){
{
Master nextMaster = data.master.next;
int diff = 0;
- for(int i=0;diff+i<length();i++)
+ for(int i=0;i<length();i++)
{
Entry e = getEntry(i);
if(e != null && e.rev != nextMaster.basis[i])