From 3db81d87d6a150f5aeb5d70187662f0af17d77f7 Mon Sep 17 00:00:00 2001
From: UbitUmarov
Date: Wed, 31 Aug 2016 09:42:03 +0100
Subject: 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
---
OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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
/// Indentation based on brace count.
private void Indent(StringBuilder sb)
{
- sb.Append(" ");
+ for (int i = 0; i < m_braceCount; i++)
+ sb.Append(" ");
}
///
--
cgit v1.1