diff options
author | lbsa71 | 2007-10-15 07:01:22 +0000 |
---|---|---|
committer | lbsa71 | 2007-10-15 07:01:22 +0000 |
commit | 1294da6a930edb86bfa4d3fb120b5a88b65b4aab (patch) | |
tree | 4bae944a5190a7c952b3f82038c575b753a3410f /OpenSim/Framework/General/Culture.cs | |
parent | * Chillken Patch #417 - upgraded version numbers to 0.4 - thanks Chillken! (diff) | |
download | opensim-SC-1294da6a930edb86bfa4d3fb120b5a88b65b4aab.zip opensim-SC-1294da6a930edb86bfa4d3fb120b5a88b65b4aab.tar.gz opensim-SC-1294da6a930edb86bfa4d3fb120b5a88b65b4aab.tar.bz2 opensim-SC-1294da6a930edb86bfa4d3fb120b5a88b65b4aab.tar.xz |
* Applied Chillken patch #418 : newline-r2092.patch ; failed on assemblyinfo tho. Thanxs Chillken!
Diffstat (limited to 'OpenSim/Framework/General/Culture.cs')
-rw-r--r-- | OpenSim/Framework/General/Culture.cs | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/OpenSim/Framework/General/Culture.cs b/OpenSim/Framework/General/Culture.cs index 4d175f7..b6c68ed 100644 --- a/OpenSim/Framework/General/Culture.cs +++ b/OpenSim/Framework/General/Culture.cs | |||
@@ -8,24 +8,24 @@ namespace 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 IFormatProvider FormatProvider | 21 | public static IFormatProvider FormatProvider |
22 | { | 22 | { |
23 | get | 23 | get |
24 | { | 24 | { |
25 | return m_cultureInfo; | 25 | return m_cultureInfo; |
26 | } | 26 | } |
27 | } | 27 | } |
28 | 28 | ||
29 | public static void SetCurrentCulture() | 29 | public static void SetCurrentCulture() |
30 | { | 30 | { |
31 | Thread.CurrentThread.CurrentCulture = m_cultureInfo; | 31 | Thread.CurrentThread.CurrentCulture = m_cultureInfo; |