aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/General/Culture.cs
diff options
context:
space:
mode:
authorSean Dague2007-10-05 15:45:45 +0000
committerSean Dague2007-10-05 15:45:45 +0000
commitc3d8f1f4253f72484100394940e62f2912cbc4ff (patch)
tree8a9f237ed3c1140b4059ec121e0d4ede82eae416 /OpenSim/Framework/General/Culture.cs
parent* So, ok, maybe renaming serialized fields on a friday wasn't the smartest of... (diff)
downloadopensim-SC_OLD-c3d8f1f4253f72484100394940e62f2912cbc4ff.zip
opensim-SC_OLD-c3d8f1f4253f72484100394940e62f2912cbc4ff.tar.gz
opensim-SC_OLD-c3d8f1f4253f72484100394940e62f2912cbc4ff.tar.bz2
opensim-SC_OLD-c3d8f1f4253f72484100394940e62f2912cbc4ff.tar.xz
getting all our line endings consistant again
Diffstat (limited to 'OpenSim/Framework/General/Culture.cs')
-rw-r--r--OpenSim/Framework/General/Culture.cs52
1 files changed, 26 insertions, 26 deletions
diff --git a/OpenSim/Framework/General/Culture.cs b/OpenSim/Framework/General/Culture.cs
index 8f8561b..9e1c846 100644
--- a/OpenSim/Framework/General/Culture.cs
+++ b/OpenSim/Framework/General/Culture.cs
@@ -1,26 +1,26 @@
1using System; 1using System;
2using System.Collections.Generic; 2using System.Collections.Generic;
3using System.Globalization; 3using System.Globalization;
4using System.Text; 4using System.Text;
5using System.Threading; 5using System.Threading;
6 6
7namespace OpenSim.Framework 7namespace OpenSim.Framework
8{ 8{
9 public class Culture 9 public class Culture
10 { 10 {
11 private static readonly CultureInfo m_cultureInfo = new System.Globalization.CultureInfo("en-US", true); 11 private static readonly CultureInfo m_cultureInfo = new System.Globalization.CultureInfo("en-US", true);
12 12
13 public static NumberFormatInfo NumberFormatInfo 13 public static NumberFormatInfo NumberFormatInfo
14 { 14 {
15 get 15 get
16 { 16 {
17 return m_cultureInfo.NumberFormat; 17 return m_cultureInfo.NumberFormat;
18 } 18 }
19 } 19 }
20 20
21 public static void SetCurrentCulture() 21 public static void SetCurrentCulture()
22 { 22 {
23 Thread.CurrentThread.CurrentCulture = m_cultureInfo; 23 Thread.CurrentThread.CurrentCulture = m_cultureInfo;
24 } 24 }
25 } 25 }
26} 26}