From 2f8d81a0f7b54bc09adb70903657f60e3728f854 Mon Sep 17 00:00:00 2001 From: Iran Date: Sun, 19 Sep 2010 22:39:00 +0200 Subject: [PATCH] Fix OnFormClosing's MessageBox.Show under mono, unix newline and Environment.Newline didn't work, but Windows newline does work --- OpenRA.Editor/Form1.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Editor/Form1.cs b/OpenRA.Editor/Form1.cs index 9df5ccff0c..907805d301 100644 --- a/OpenRA.Editor/Form1.cs +++ b/OpenRA.Editor/Form1.cs @@ -376,7 +376,7 @@ namespace OpenRA.Editor { if (!dirty) return; - switch (MessageBox.Show("The map has been modified since it was last saved. Save changes now?", + switch (MessageBox.Show("The map has been modified since it was last saved. " + "\r\n" + "Save changes now?", "Unsaved Changes", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation)) { case DialogResult.Yes: SaveClicked(null, EventArgs.Empty); break;