aboutsummaryrefslogtreecommitdiff
path: root/Histacom2/SaveDialogs/LoadGameProfileItem.cs
diff options
context:
space:
mode:
authorlempamo <[email protected]>2017-11-05 09:25:55 -0500
committerGitHub <[email protected]>2017-11-05 09:25:55 -0500
commitf0e2d14a959db1e5d35c4dc5f77ed3523c93200a (patch)
tree7ae4244e5f5c3dc38f4b228f15efe4ea5be0fe3a /Histacom2/SaveDialogs/LoadGameProfileItem.cs
parent458cc4ee0dbc67f547ea851b5a67a88af119a4c0 (diff)
parent55bc23bd3797debcfc461ef23df344d16212f235 (diff)
downloadhistacom2-f0e2d14a959db1e5d35c4dc5f77ed3523c93200a.tar.gz
histacom2-f0e2d14a959db1e5d35c4dc5f77ed3523c93200a.tar.bz2
histacom2-f0e2d14a959db1e5d35c4dc5f77ed3523c93200a.zip
Merge pull request #180 from Alex-TIMEHACK/master
ClassicTextBox and ClassicDropDown
Diffstat (limited to 'Histacom2/SaveDialogs/LoadGameProfileItem.cs')
-rw-r--r--Histacom2/SaveDialogs/LoadGameProfileItem.cs6
1 files changed, 3 insertions, 3 deletions
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 == "")
{