From 6277def7a0572f006deba004721f6bfc3d2b39e5 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Wed, 18 May 2011 20:53:54 +1200 Subject: [PATCH] fix utility filepicker on windows --- OpenRA.Utility/Command.cs | 10 ++++------ OpenRA.Utility/Program.cs | 1 + 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/OpenRA.Utility/Command.cs b/OpenRA.Utility/Command.cs index acc8448271..635667862a 100644 --- a/OpenRA.Utility/Command.cs +++ b/OpenRA.Utility/Command.cs @@ -10,16 +10,14 @@ using System; using System.Collections.Generic; -using System.IO; -using System.Windows.Forms; -using ICSharpCode.SharpZipLib; -using ICSharpCode.SharpZipLib.Zip; -using OpenRA.GameRules; -using OpenRA.FileFormats.Graphics; using System.Drawing; using System.Drawing.Imaging; +using System.IO; using System.Runtime.InteropServices; +using System.Windows.Forms; using OpenRA.FileFormats; +using OpenRA.FileFormats.Graphics; +using OpenRA.GameRules; namespace OpenRA.Utility { diff --git a/OpenRA.Utility/Program.cs b/OpenRA.Utility/Program.cs index f4ac6141fa..49c3972986 100644 --- a/OpenRA.Utility/Program.cs +++ b/OpenRA.Utility/Program.cs @@ -16,6 +16,7 @@ namespace OpenRA.Utility { class Program { + [STAThread] static void Main(string[] args) { var actions = new Dictionary>()