Fix the OOB error (#5102). Sorry, my bad.

viewer-2-initial-appearance
Melanie 2010-10-21 09:30:09 +01:00 committed by Jonathan Freedman
parent 6049e548a5
commit 753137e9ad
1 changed files with 1 additions and 1 deletions

View File

@ -8435,7 +8435,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{
for (j = seplen; (j < mlen) && (offset[best] > beginning); j++)
{
if (spcarray[j].ToString() == String.Empty)
if (spcarray[j-seplen].ToString() == String.Empty)
active[j] = false;
if (active[j])