aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs
index c8d1d16..b357ab6 100644
--- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/CSCodeGenerator.cs
@@ -470,9 +470,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
470 { 470 {
471 string retstr = String.Empty; 471 string retstr = String.Empty;
472 472
473 retstr += GenerateIndented("if ((bool)(", ifs); 473 retstr += GenerateIndented("if (", ifs);
474 retstr += GenerateNode((SYMBOL) ifs.kids.Pop()); 474 retstr += GenerateNode((SYMBOL) ifs.kids.Pop());
475 retstr += GenerateLine("))"); 475 retstr += GenerateLine(")");
476 476
477 // CompoundStatement handles indentation itself but we need to do it 477 // CompoundStatement handles indentation itself but we need to do it
478 // otherwise. 478 // otherwise.