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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user