aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 58f5024..ae775f7 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -6711,7 +6711,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
6711 if (active[j]) 6711 if (active[j])
6712 { 6712 {
6713 // scan all of the markers 6713 // scan all of the markers
6714 if ((offset[j] = src.IndexOf((string)separray[j],beginning)) == -1) 6714 if ((offset[j] = src.IndexOf(separray[j].ToString(),beginning)) == -1)
6715 { 6715 {
6716 // not present at all 6716 // not present at all
6717 active[j] = false; 6717 active[j] = false;
@@ -6739,7 +6739,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
6739 if (active[j]) 6739 if (active[j])
6740 { 6740 {
6741 // scan all of the markers 6741 // scan all of the markers
6742 if ((offset[j] = src.IndexOf((string)spcarray[j-seplen], beginning)) == -1) 6742 if ((offset[j] = src.IndexOf(spcarray[j-seplen].ToString(), beginning)) == -1)
6743 { 6743 {
6744 // not present at all 6744 // not present at all
6745 active[j] = false; 6745 active[j] = false;
@@ -6774,11 +6774,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
6774 6774
6775 if (best < seplen) 6775 if (best < seplen)
6776 { 6776 {
6777 beginning = offset[best] + ((string)separray[best]).Length; 6777 beginning = offset[best] + (separray[best].ToString()).Length;
6778 } 6778 }
6779 else 6779 else
6780 { 6780 {
6781 beginning = offset[best] + ((string)spcarray[best - seplen]).Length; 6781 beginning = offset[best] + (spcarray[best - seplen].ToString()).Length;
6782 tokens.Add(spcarray[best - seplen]); 6782 tokens.Add(spcarray[best - seplen]);
6783 } 6783 }
6784 } 6784 }