# HG changeset patch # User Matthew Wild # Date 1254764562 -3600 # Node ID 2d242334508de7fc7eb9c2265904e5af0856a4f1 # Parent 7f8928aa0b9d88bb025e024c6482a0f8a3291624# Parent d5fe0f9b377ad9f1fa986865d048f304b4d8cffe Merge with 0.5 diff -r 7f8928aa0b9d -r 2d242334508d util/array.lua --- a/util/array.lua Mon Oct 05 17:57:59 2009 +0100 +++ b/util/array.lua Mon Oct 05 18:42:42 2009 +0100 @@ -43,7 +43,7 @@ end end - if inplace and write < start_length then + if inplace and write <= start_length then for i=write,start_length do outa[i] = nil; end