diff options
author | Jeff Ames | 2008-06-25 14:30:28 +0000 |
---|---|---|
committer | Jeff Ames | 2008-06-25 14:30:28 +0000 |
commit | a2b1a1787d620f70c10221545414b41ffdfe27da (patch) | |
tree | fe356d669c4dffab062192a6676acb3cf4c6641c /OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs | |
parent | Mantis#1584. Thank you kindly, Lulurun for a patch that: (diff) | |
download | opensim-SC-a2b1a1787d620f70c10221545414b41ffdfe27da.zip opensim-SC-a2b1a1787d620f70c10221545414b41ffdfe27da.tar.gz opensim-SC-a2b1a1787d620f70c10221545414b41ffdfe27da.tar.bz2 opensim-SC-a2b1a1787d620f70c10221545414b41ffdfe27da.tar.xz |
Minor formatting cleanup.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs index aa2c9c2..c12b1f8 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs | |||
@@ -44,9 +44,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
44 | { | 44 | { |
45 | MethodInfo[] myArrayMethodInfo = GetType().GetMethods(BindingFlags.Public|BindingFlags.Instance); | 45 | MethodInfo[] myArrayMethodInfo = GetType().GetMethods(BindingFlags.Public|BindingFlags.Instance); |
46 | 46 | ||
47 | foreach(MethodInfo mi in myArrayMethodInfo) | 47 | foreach (MethodInfo mi in myArrayMethodInfo) |
48 | { | 48 | { |
49 | if(mi.Name.Length > 7 && mi.Name.Substring(0, 7) == "ApiType") | 49 | if (mi.Name.Length > 7 && mi.Name.Substring(0, 7) == "ApiType") |
50 | { | 50 | { |
51 | string type=mi.Name.Substring(7); | 51 | string type=mi.Name.Substring(7); |
52 | inits[type]=mi; | 52 | inits[type]=mi; |
@@ -63,7 +63,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
63 | 63 | ||
64 | public void InitApi(string api, IScriptApi data) | 64 | public void InitApi(string api, IScriptApi data) |
65 | { | 65 | { |
66 | if(!inits.ContainsKey(api)) | 66 | if (!inits.ContainsKey(api)) |
67 | return; | 67 | return; |
68 | 68 | ||
69 | MethodInfo mi = inits[api]; | 69 | MethodInfo mi = inits[api]; |