From 6ab1468786f1e865e9ff408d32149f9c9620d844 Mon Sep 17 00:00:00 2001 From: Alex-TIMEHACK Date: Sat, 4 Nov 2017 09:43:02 +0000 Subject: Fix bugs ...and get rid of all == false and == true --- Histacom2/SaveDialogs/LoadGameProfileItem.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Histacom2/SaveDialogs/LoadGameProfileItem.cs') diff --git a/Histacom2/SaveDialogs/LoadGameProfileItem.cs b/Histacom2/SaveDialogs/LoadGameProfileItem.cs index bdc0b7c..646601b 100644 --- a/Histacom2/SaveDialogs/LoadGameProfileItem.cs +++ b/Histacom2/SaveDialogs/LoadGameProfileItem.cs @@ -37,7 +37,7 @@ namespace Histacom2 if (!ClientRectangle.Contains(PointToClient(Control.MousePosition))) { sidebar.Hide(); - if (OnceRemoveHeight == false) + if (!OnceRemoveHeight) { this.Height -= 28; OnceRemoveHeight = true; @@ -49,7 +49,7 @@ namespace Histacom2 } else { sidebar.Show(); - if (OnceAddHeight == false) + if (!OnceAddHeight) { this.Height += 28; OnceAddHeight = true; @@ -95,7 +95,7 @@ namespace Histacom2 { try { - if (!RequestingNewName == false) + if (!RequestingNewName) { if (textBox1.Text == "") { -- cgit v1.2.3