From 9db8581411014e90487fe176b3cf395cd046f7c3 Mon Sep 17 00:00:00 2001 From: Sigmanor Date: Fri, 22 Jan 2016 21:41:31 +0200 Subject: [PATCH] Fixed typos --- Crypto Notepad/ChangeKeyForm.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Crypto Notepad/ChangeKeyForm.cs b/Crypto Notepad/ChangeKeyForm.cs index 95bf320..f6d7d65 100644 --- a/Crypto Notepad/ChangeKeyForm.cs +++ b/Crypto Notepad/ChangeKeyForm.cs @@ -17,6 +17,7 @@ private void button1_Click(object sender, EventArgs e) MainWindow.key = textBox2.Text; MainWindow.keyChanged = true; this.Close(); + return; } if (textBox1.Text != MainWindow.key) @@ -34,7 +35,7 @@ private void button1_Click(object sender, EventArgs e) { using (new CenterWinDialog(this)) { - MessageBox.Show("New key the same as old!", "Change Key", MessageBoxButtons.OK, MessageBoxIcon.Warning); + MessageBox.Show("New key is the same as old!", "Change Key", MessageBoxButtons.OK, MessageBoxIcon.Warning); } textBox1.Text = ""; textBox2.Text = "";