From 5d77625e9ac4ce1fc7b8fd67aabf563678ef0d5d Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Sun, 25 May 2008 23:27:38 +0000 Subject: Update svn properties. Formatting cleanup. --- OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 13 +++++++++---- OpenSim/Region/ScriptEngine/DotNetEngine/ScriptManager.cs | 4 ++-- 2 files changed, 11 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region/ScriptEngine') diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index fbfb400..9446844 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs @@ -3298,8 +3298,11 @@ namespace OpenSim.Region.ScriptEngine.Common result.Add(src.Substring(start,length).Trim()); start += length+1; length = 0; - } else + } + else + { length++; + } break; default : length++; @@ -5301,7 +5304,8 @@ namespace OpenSim.Region.ScriptEngine.Common { // not present at all active[j] = false; - } else + } + else { // present and correct if (offset[j] < offset[best]) @@ -5329,10 +5333,11 @@ namespace OpenSim.Region.ScriptEngine.Common tokens.Add(src.Substring(beginning,offset[best]-beginning)); - if (best