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

0.7-release
Melanie Thielker 2010-07-02 03:05:40 +02:00 committed by Diva Canto
parent 5f49e5d320
commit 0de8291ceb
1 changed files with 2 additions and 2 deletions

View File

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