aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/CodeTools
diff options
context:
space:
mode:
authorMelanie Thielker2008-09-02 04:23:01 +0000
committerMelanie Thielker2008-09-02 04:23:01 +0000
commitb7a4613a0d3c2f6633f088db64a74d61ba14c340 (patch)
tree71e67a43f4cdf40b68dc47aecfefdfa060f03421 /OpenSim/Region/ScriptEngine/Shared/CodeTools
parentRemove the ((bool)()) cast, since it can make c# barf (diff)
downloadopensim-SC_OLD-b7a4613a0d3c2f6633f088db64a74d61ba14c340.zip
opensim-SC_OLD-b7a4613a0d3c2f6633f088db64a74d61ba14c340.tar.gz
opensim-SC_OLD-b7a4613a0d3c2f6633f088db64a74d61ba14c340.tar.bz2
opensim-SC_OLD-b7a4613a0d3c2f6633f088db64a74d61ba14c340.tar.xz
Correct the representation of the automatic null string
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/CodeTools')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/CodeTools/LSL2CSCodeTransformer.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/CodeTools/LSL2CSCodeTransformer.cs b/OpenSim/Region/ScriptEngine/Shared/CodeTools/LSL2CSCodeTransformer.cs
index a44b545..d472ec8 100644
--- a/OpenSim/Region/ScriptEngine/Shared/CodeTools/LSL2CSCodeTransformer.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/CodeTools/LSL2CSCodeTransformer.cs
@@ -153,7 +153,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
153 return new Constant(p, constantType, "0.0"); 153 return new Constant(p, constantType, "0.0");
154 case "string": 154 case "string":
155 case "key": 155 case "key":
156 return new Constant(p, constantType, ""); 156 return new Constant(p, constantType, "\"\"");
157 case "list": 157 case "list":
158 ArgumentList al = new ArgumentList(p); 158 ArgumentList al = new ArgumentList(p);
159 return new ListConstant(p, al); 159 return new ListConstant(p, al);