diff options
author | Melanie Thielker | 2010-07-02 03:05:40 +0200 |
---|---|---|
committer | Melanie | 2010-07-02 03:04:43 +0100 |
commit | 848623eea5b8ee09681e21231258956e0ff41599 (patch) | |
tree | c58630e7e93df7813a242d158ae9f18bca99791b /OpenSim/Region | |
parent | Add region name on the end of script startup debug messages (diff) | |
download | opensim-SC-848623eea5b8ee09681e21231258956e0ff41599.zip opensim-SC-848623eea5b8ee09681e21231258956e0ff41599.tar.gz opensim-SC-848623eea5b8ee09681e21231258956e0ff41599.tar.bz2 opensim-SC-848623eea5b8ee09681e21231258956e0ff41599.tar.xz |
Fix a dumb little sign error that makes a LSL wiki example fail
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs | 4 |
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 | ||