diff options
author | Melanie | 2010-10-21 09:30:09 +0100 |
---|---|---|
committer | Jonathan Freedman | 2010-10-22 18:27:28 -0400 |
commit | 753137e9ad1c26fa948c51644dc9c1e80ecc0d5f (patch) | |
tree | e66a3346fab9cfcc89d0c0a1a2efb4740cade2b1 | |
parent | Skip empty strings in ParseString* functions (diff) | |
download | opensim-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.
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 2 |
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]) |