aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2010-07-02 03:05:40 +0200
committerMelanie Thielker2010-07-02 03:05:40 +0200
commit60c15d7c283a7ded6d7e7b6c40b77b2a6b7218f2 (patch)
tree2e864571b40a03b95e7b5b2827fbd4991890fe26 /OpenSim
parentANother stab at LSL compatibility (diff)
downloadopensim-SC-60c15d7c283a7ded6d7e7b6c40b77b2a6b7218f2.zip
opensim-SC-60c15d7c283a7ded6d7e7b6c40b77b2a6b7218f2.tar.gz
opensim-SC-60c15d7c283a7ded6d7e7b6c40b77b2a6b7218f2.tar.bz2
opensim-SC-60c15d7c283a7ded6d7e7b6c40b77b2a6b7218f2.tar.xz
Fix a dumb little sign error that makes a LSL wiki example fail
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
index 212dbe3..5927973 100644
--- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
@@ -663,13 +663,13 @@ namespace OpenSim.Region.ScriptEngine.Shared
663 Object[] ret; 663 Object[] ret;
664 664
665 if (start < 0) 665 if (start < 0)
666 start=m_data.Length-start; 666 start=m_data.Length+start;
667 667
668 if (start < 0) 668 if (start < 0)
669 start=0; 669 start=0;
670 670
671 if (end < 0) 671 if (end < 0)
672 end=m_data.Length-end; 672 end=m_data.Length+end;
673 if (end < 0) 673 if (end < 0)
674 end=0; 674 end=0;
675 675