From d3838f4559a98e552f5d9a50d34ebae725d9c650 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sun, 29 Jun 2014 15:09:21 +0000 Subject: [PATCH] upon further contemplation, I like this behavior better for the -32000 problem --- BizHawk.Client.Common/config/ToolDialogSettings.cs | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/BizHawk.Client.Common/config/ToolDialogSettings.cs b/BizHawk.Client.Common/config/ToolDialogSettings.cs index 549791bca9..099719f708 100644 --- a/BizHawk.Client.Common/config/ToolDialogSettings.cs +++ b/BizHawk.Client.Common/config/ToolDialogSettings.cs @@ -20,11 +20,7 @@ namespace BizHawk.Client.Common get { return _wndx; } set { - if (value == -32000) - { - _wndx = null; - } - else + if (value != -32000) { _wndx = value; } @@ -38,11 +34,7 @@ namespace BizHawk.Client.Common get { return _wndy; } set { - if (value == -32000) - { - _wndy = null; - } - else + if (value != -32000) { _wndy = value; }