diff options
author | UbitUmarov | 2017-07-13 04:14:33 +0100 |
---|---|---|
committer | UbitUmarov | 2017-07-13 04:14:33 +0100 |
commit | bd249bdf5b175ee6d84588a777444f2b89d7df1e (patch) | |
tree | fc197ccc9aac6d0285ae3d0c8c9e8cf1914dc9fe /OpenSim/Capabilities | |
parent | fix wrong test (diff) | |
download | opensim-SC-bd249bdf5b175ee6d84588a777444f2b89d7df1e.zip opensim-SC-bd249bdf5b175ee6d84588a777444f2b89d7df1e.tar.gz opensim-SC-bd249bdf5b175ee6d84588a777444f2b89d7df1e.tar.bz2 opensim-SC-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')
-rw-r--r-- | OpenSim/Capabilities/LLSD.cs | 2 |
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"); |