aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Capabilities/LLSD.cs
diff options
context:
space:
mode:
authorUbitUmarov2017-07-13 04:14:33 +0100
committerUbitUmarov2017-07-13 04:14:33 +0100
commitbd249bdf5b175ee6d84588a777444f2b89d7df1e (patch)
treefc197ccc9aac6d0285ae3d0c8c9e8cf1914dc9fe /OpenSim/Capabilities/LLSD.cs
parentfix wrong test (diff)
downloadopensim-SC_OLD-bd249bdf5b175ee6d84588a777444f2b89d7df1e.zip
opensim-SC_OLD-bd249bdf5b175ee6d84588a777444f2b89d7df1e.tar.gz
opensim-SC_OLD-bd249bdf5b175ee6d84588a777444f2b89d7df1e.tar.bz2
opensim-SC_OLD-bd249bdf5b175ee6d84588a777444f2b89d7df1e.tar.xz
replace the wrong libOMV user modifiable Utils.EnUSCulture by our own no User modifiable Culture.FormatProvider, and also for internal coerence. We do use the libomv on other code paths, so that must be fixed
Diffstat (limited to 'OpenSim/Capabilities/LLSD.cs')
-rw-r--r--OpenSim/Capabilities/LLSD.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Capabilities/LLSD.cs b/OpenSim/Capabilities/LLSD.cs
index c59cede..8f3cab7 100644
--- a/OpenSim/Capabilities/LLSD.cs
+++ b/OpenSim/Capabilities/LLSD.cs
@@ -566,7 +566,7 @@ namespace OpenSim.Framework.Capabilities
566 endPos = FindEnd(llsd, 1); 566 endPos = FindEnd(llsd, 1);
567 567
568 if (Double.TryParse(llsd.Substring(1, endPos - 1), NumberStyles.Float, 568 if (Double.TryParse(llsd.Substring(1, endPos - 1), NumberStyles.Float,
569 Utils.EnUsCulture.NumberFormat, out value)) 569 Culture.FormatProvider.NumberFormat, out value))
570 return value; 570 return value;
571 else 571 else
572 throw new LLSDParseException("Failed to parse double value type"); 572 throw new LLSDParseException("Failed to parse double value type");