aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorMelanie2010-10-21 09:30:09 +0100
committerMelanie2010-10-21 09:30:09 +0100
commit01bc4fc9da5d708cc5a3876025b99e5d1aee034d (patch)
treea05a78b2a7f1bdabcc9fe607db15e612450c95bf /OpenSim/Region/ScriptEngine
parentSkip empty strings in ParseString* functions (diff)
downloadopensim-SC_OLD-01bc4fc9da5d708cc5a3876025b99e5d1aee034d.zip
opensim-SC_OLD-01bc4fc9da5d708cc5a3876025b99e5d1aee034d.tar.gz
opensim-SC_OLD-01bc4fc9da5d708cc5a3876025b99e5d1aee034d.tar.bz2
opensim-SC_OLD-01bc4fc9da5d708cc5a3876025b99e5d1aee034d.tar.xz
Fix the OOB error (#5102). Sorry, my bad.
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index cc6ded7..92523d4 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -8435,7 +8435,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
8435 { 8435 {
8436 for (j = seplen; (j < mlen) && (offset[best] > beginning); j++) 8436 for (j = seplen; (j < mlen) && (offset[best] > beginning); j++)
8437 { 8437 {
8438 if (spcarray[j].ToString() == String.Empty) 8438 if (spcarray[j-seplen].ToString() == String.Empty)
8439 active[j] = false; 8439 active[j] = false;
8440 8440
8441 if (active[j]) 8441 if (active[j])