diff options
| author | a1xd <[email protected]> | 2021-08-29 19:44:48 -0400 |
|---|---|---|
| committer | a1xd <[email protected]> | 2021-08-29 19:44:48 -0400 |
| commit | ec4997c6be3f794699eebf00bbe795c23626f9c7 (patch) | |
| tree | 6ad42e07dfad10177fd0d1f6f68317a2aabdf5f0 /grapher/Program.cs | |
| parent | add validation checks for jump mode (diff) | |
| download | rawaccel-ec4997c6be3f794699eebf00bbe795c23626f9c7.tar.xz rawaccel-ec4997c6be3f794699eebf00bbe795c23626f9c7.zip | |
remove culture specific float parsing
make app/default culture invariant
Diffstat (limited to 'grapher/Program.cs')
| -rw-r--r-- | grapher/Program.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/grapher/Program.cs b/grapher/Program.cs index 894d1cd..bd7d2f9 100644 --- a/grapher/Program.cs +++ b/grapher/Program.cs @@ -1,4 +1,5 @@ using System; +using System.Globalization; using System.Windows.Forms; namespace grapher @@ -19,6 +20,9 @@ namespace grapher return; } + CultureInfo.DefaultThreadCurrentCulture = CultureInfo.InvariantCulture; + CultureInfo.DefaultThreadCurrentUICulture = CultureInfo.InvariantCulture; + AppDomain.CurrentDomain.UnhandledException += GlobalUnhandledExceptionHandler; Application.EnableVisualStyles(); |