diff options
author | Jeff Ames | 2008-05-25 23:27:38 +0000 |
---|---|---|
committer | Jeff Ames | 2008-05-25 23:27:38 +0000 |
commit | 5d77625e9ac4ce1fc7b8fd67aabf563678ef0d5d (patch) | |
tree | b010c015ac515fe2a3dd0c9f89c16cbc6383d685 /OpenSim/Region/ScriptEngine/Common | |
parent | * A hacky Top Scripts display. It isn't accurate as far as ms accounting, ho... (diff) | |
download | opensim-SC-5d77625e9ac4ce1fc7b8fd67aabf563678ef0d5d.zip opensim-SC-5d77625e9ac4ce1fc7b8fd67aabf563678ef0d5d.tar.gz opensim-SC-5d77625e9ac4ce1fc7b8fd67aabf563678ef0d5d.tar.bz2 opensim-SC-5d77625e9ac4ce1fc7b8fd67aabf563678ef0d5d.tar.xz |
Update svn properties. Formatting cleanup.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 13 |
1 files changed, 9 insertions, 4 deletions
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 | |||
3298 | result.Add(src.Substring(start,length).Trim()); | 3298 | result.Add(src.Substring(start,length).Trim()); |
3299 | start += length+1; | 3299 | start += length+1; |
3300 | length = 0; | 3300 | length = 0; |
3301 | } else | 3301 | } |
3302 | else | ||
3303 | { | ||
3302 | length++; | 3304 | length++; |
3305 | } | ||
3303 | break; | 3306 | break; |
3304 | default : | 3307 | default : |
3305 | length++; | 3308 | length++; |
@@ -5301,7 +5304,8 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
5301 | { | 5304 | { |
5302 | // not present at all | 5305 | // not present at all |
5303 | active[j] = false; | 5306 | active[j] = false; |
5304 | } else | 5307 | } |
5308 | else | ||
5305 | { | 5309 | { |
5306 | // present and correct | 5310 | // present and correct |
5307 | if (offset[j] < offset[best]) | 5311 | if (offset[j] < offset[best]) |
@@ -5329,10 +5333,11 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
5329 | 5333 | ||
5330 | tokens.Add(src.Substring(beginning,offset[best]-beginning)); | 5334 | tokens.Add(src.Substring(beginning,offset[best]-beginning)); |
5331 | 5335 | ||
5332 | if (best<seplen) | 5336 | if (best < seplen) |
5333 | { | 5337 | { |
5334 | beginning = offset[best]+((string)separray[best]).Length; | 5338 | beginning = offset[best]+((string)separray[best]).Length; |
5335 | } else | 5339 | } |
5340 | else | ||
5336 | { | 5341 | { |
5337 | beginning = offset[best]+((string)spcarray[best-seplen]).Length; | 5342 | beginning = offset[best]+((string)spcarray[best-seplen]).Length; |
5338 | tokens.Add(spcarray[best-seplen]); | 5343 | tokens.Add(spcarray[best-seplen]); |