aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2010-07-02 03:05:40 +0200
committerMelanie2010-07-02 03:04:43 +0100
commit848623eea5b8ee09681e21231258956e0ff41599 (patch)
treec58630e7e93df7813a242d158ae9f18bca99791b /OpenSim
parentAdd region name on the end of script startup debug messages (diff)
downloadopensim-SC_OLD-848623eea5b8ee09681e21231258956e0ff41599.zip
opensim-SC_OLD-848623eea5b8ee09681e21231258956e0ff41599.tar.gz
opensim-SC_OLD-848623eea5b8ee09681e21231258956e0ff41599.tar.bz2
opensim-SC_OLD-848623eea5b8ee09681e21231258956e0ff41599.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 1ea52c5..941c761 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