diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs index b51880d..67762a3 100644 --- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/Compiler.cs | |||
@@ -109,7 +109,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools | |||
109 | m_insertCoopTerminationCalls = m_scriptEngine.Config.GetString("ScriptStopStrategy", "abort") == "co-op"; | 109 | m_insertCoopTerminationCalls = m_scriptEngine.Config.GetString("ScriptStopStrategy", "abort") == "co-op"; |
110 | 110 | ||
111 | // Get file prefix from scriptengine name and make it file system safe: | 111 | // Get file prefix from scriptengine name and make it file system safe: |
112 | FilePrefix = ""; | 112 | FilePrefix = "CommonCompiler"; |
113 | foreach (char c in Path.GetInvalidFileNameChars()) | 113 | foreach (char c in Path.GetInvalidFileNameChars()) |
114 | { | 114 | { |
115 | FilePrefix = FilePrefix.Replace(c, '_'); | 115 | FilePrefix = FilePrefix.Replace(c, '_'); |
@@ -441,8 +441,8 @@ namespace SecondLife | |||
441 | {{ | 441 | {{ |
442 | public class {0} : {1} | 442 | public class {0} : {1} |
443 | {{ | 443 | {{ |
444 | public {0}({2}) : base({3}) {{}}" | 444 | public {0}({2}) : base({3}) {{}} |
445 | , | 445 | ", |
446 | className, | 446 | className, |
447 | baseClassName, | 447 | baseClassName, |
448 | constructorParameters != null | 448 | constructorParameters != null |