From c49b25f19e5f6e0f9a1c20d89d66c15be61ef1e8 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Thu, 24 Apr 2008 10:17:33 +0000 Subject: * From: Alan M Webb * Patch to fix negative indices bug in llListInsertList --- OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/ScriptEngine/Common') diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 2d1b02d..3778c09 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs @@ -3280,7 +3280,7 @@ namespace OpenSim.Region.ScriptEngine.Common if(index < 0) { - index = index+src.Length; + index = index+dest.Length; if(index < 0) { index = 0; -- cgit v1.1