Fix OnFormClosing's MessageBox.Show under mono, unix newline and Environment.Newline didn't work, but Windows newline does work

This commit is contained in:
Iran
2010-09-19 22:39:00 +02:00
parent 46486073ab
commit 2f8d81a0f7

View File

@@ -376,7 +376,7 @@ namespace OpenRA.Editor
{ {
if (!dirty) return; 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)) "Unsaved Changes", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation))
{ {
case DialogResult.Yes: SaveClicked(null, EventArgs.Empty); break; case DialogResult.Yes: SaveClicked(null, EventArgs.Empty); break;