aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
index 23177e5..3e63808 100644
--- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
@@ -1394,7 +1394,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
1394 1394
1395 static public explicit operator LSLInteger(string s) 1395 static public explicit operator LSLInteger(string s)
1396 { 1396 {
1397 Regex r = new Regex("^[0-9][0-9]*"); 1397 Regex r = new Regex("^[ ]*-?[0-9][0-9]*");
1398 Match m = r.Match(s); 1398 Match m = r.Match(s);
1399 string v = m.Groups[0].Value; 1399 string v = m.Groups[0].Value;
1400 1400