From 8cd38812d90a221e798a1bc717c23a979337887f Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Wed, 12 May 2010 17:41:37 +1200 Subject: [PATCH] make editor work in non-en locales --- OpenRA.Editor/Program.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/OpenRA.Editor/Program.cs b/OpenRA.Editor/Program.cs index 90053d26d5..83b316b8c7 100644 --- a/OpenRA.Editor/Program.cs +++ b/OpenRA.Editor/Program.cs @@ -1,18 +1,15 @@ using System; -using System.Collections.Generic; -using System.Linq; +using System.Globalization; using System.Windows.Forms; namespace OpenRA.Editor { static class Program { - /// - /// The main entry point for the application. - /// [STAThread] static void Main( string[] args ) { + Application.CurrentCulture = CultureInfo.InvariantCulture; Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1(args));