aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime
diff options
context:
space:
mode:
authorJeff Ames2008-06-25 14:30:28 +0000
committerJeff Ames2008-06-25 14:30:28 +0000
commita2b1a1787d620f70c10221545414b41ffdfe27da (patch)
treefe356d669c4dffab062192a6676acb3cf4c6641c /OpenSim/Region/ScriptEngine/Shared/Api/Runtime
parentMantis#1584. Thank you kindly, Lulurun for a patch that: (diff)
downloadopensim-SC_OLD-a2b1a1787d620f70c10221545414b41ffdfe27da.zip
opensim-SC_OLD-a2b1a1787d620f70c10221545414b41ffdfe27da.tar.gz
opensim-SC_OLD-a2b1a1787d620f70c10221545414b41ffdfe27da.tar.bz2
opensim-SC_OLD-a2b1a1787d620f70c10221545414b41ffdfe27da.tar.xz
Minor formatting cleanup.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/ScriptBase.cs6
3 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
index 7b3907f..08ee203 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
@@ -46,7 +46,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
46 46
47 public void ApiTypeLSL(IScriptApi api) 47 public void ApiTypeLSL(IScriptApi api)
48 { 48 {
49 if(!(api is ILSL_Api)) 49 if (!(api is ILSL_Api))
50 return; 50 return;
51 51
52 m_LSL_Functions = (ILSL_Api)api; 52 m_LSL_Functions = (ILSL_Api)api;
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
index 168804d..34e2fb1 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
@@ -47,7 +47,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
47 47
48 public void ApiTypeOSSL(IScriptApi api) 48 public void ApiTypeOSSL(IScriptApi api)
49 { 49 {
50 if(!(api is IOSSL_Api)) 50 if (!(api is IOSSL_Api))
51 return; 51 return;
52 52
53 m_OSSL_Functions = (IOSSL_Api)api; 53 m_OSSL_Functions = (IOSSL_Api)api;
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];