From b7a4613a0d3c2f6633f088db64a74d61ba14c340 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Tue, 2 Sep 2008 04:23:01 +0000 Subject: Correct the representation of the automatic null string --- OpenSim/Region/ScriptEngine/Shared/CodeTools/LSL2CSCodeTransformer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region') 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 return new Constant(p, constantType, "0.0"); case "string": case "key": - return new Constant(p, constantType, ""); + return new Constant(p, constantType, "\"\""); case "list": ArgumentList al = new ArgumentList(p); return new ListConstant(p, al); -- cgit v1.1