Fix a dumb little sign error that makes a LSL wiki example fail

avinationmerge
Melanie Thielker 2010-07-02 03:05:40 +02:00
parent 3d5d44279b
commit 60c15d7c28
1 changed files with 2 additions and 2 deletions

View File

@ -663,13 +663,13 @@ namespace OpenSim.Region.ScriptEngine.Shared
Object[] ret; Object[] ret;
if (start < 0) if (start < 0)
start=m_data.Length-start; start=m_data.Length+start;
if (start < 0) if (start < 0)
start=0; start=0;
if (end < 0) if (end < 0)
end=m_data.Length-end; end=m_data.Length+end;
if (end < 0) if (end < 0)
end=0; end=0;