oops, fix a logic error in HexTextBox, fixes a number of bugs such as losing the address when editing a Ram watch entry

This commit is contained in:
adelikat 2013-11-20 01:53:49 +00:00
parent e98da5856f
commit 2586a04498
1 changed files with 2 additions and 2 deletions

View File

@ -147,11 +147,11 @@ namespace BizHawk.Client.EmuHawk
{ {
if (val.HasValue) if (val.HasValue)
{ {
Text = String.Empty; Text = String.Format(_addressFormatStr, val);
} }
else else
{ {
Text = String.Format(_addressFormatStr, val); Text = String.Empty;
} }
} }
} }