This fixes a boundary case error in the strided list

implementation. If the range included only a single item
  an empty list was always returned (has no-one been using
  this function?)

Signed-off-by: dr scofield (aka dirk husemann) <drscofield@xyzzyxyzzy.net>
remotes/origin/0.6.7-post-fixes
Alan M Webb 2009-09-16 09:44:48 -04:00 committed by dr scofield (aka dirk husemann)
parent 3403ae81e8
commit 3b1ef2bfd2
1 changed files with 4 additions and 0 deletions

View File

@ -5041,6 +5041,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
} }
} }
} }
else
{
result.Add(src.Data[start]);
}
return result; return result;
} }