aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2016-08-31 09:42:03 +0100
committerUbitUmarov2016-08-31 09:42:03 +0100
commit3db81d87d6a150f5aeb5d70187662f0af17d77f7 (patch)
tree007e738e8640e4db8e7d02d618a2780106876f86
parentXengine: try to reduce memory pressure of scripts compile. Still ugly code, p... (diff)
downloadopensim-SC-3db81d87d6a150f5aeb5d70187662f0af17d77f7.zip
opensim-SC-3db81d87d6a150f5aeb5d70187662f0af17d77f7.tar.gz
opensim-SC-3db81d87d6a150f5aeb5d70187662f0af17d77f7.tar.bz2
opensim-SC-3db81d87d6a150f5aeb5d70187662f0af17d77f7.tar.xz
Xengine: fix intermediate csharpe source identation. Not sure why i care, compiler sure doesn't and only we bother to create this files on code gen debug
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs
index 287b85b..69c5d39 100644
--- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs
@@ -1137,7 +1137,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
1137 /// <returns>Indentation based on brace count.</returns> 1137 /// <returns>Indentation based on brace count.</returns>
1138 private void Indent(StringBuilder sb) 1138 private void Indent(StringBuilder sb)
1139 { 1139 {
1140 sb.Append(" "); 1140 for (int i = 0; i < m_braceCount; i++)
1141 sb.Append(" ");
1141 } 1142 }
1142 1143
1143 /// <summary> 1144 /// <summary>