aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorMelanie2010-10-21 09:30:09 +0100
committerJonathan Freedman2010-10-22 18:27:28 -0400
commit753137e9ad1c26fa948c51644dc9c1e80ecc0d5f (patch)
treee66a3346fab9cfcc89d0c0a1a2efb4740cade2b1 /OpenSim/Region/ScriptEngine
parentSkip empty strings in ParseString* functions (diff)
downloadopensim-SC_OLD-753137e9ad1c26fa948c51644dc9c1e80ecc0d5f.zip
opensim-SC_OLD-753137e9ad1c26fa948c51644dc9c1e80ecc0d5f.tar.gz
opensim-SC_OLD-753137e9ad1c26fa948c51644dc9c1e80ecc0d5f.tar.bz2
opensim-SC_OLD-753137e9ad1c26fa948c51644dc9c1e80ecc0d5f.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])