diff --git a/BizHawk.Client.EmuHawk/tools/HexEditor/HexFind.cs b/BizHawk.Client.EmuHawk/tools/HexEditor/HexFind.cs index 3f7c978622..9fa90ed1ca 100644 --- a/BizHawk.Client.EmuHawk/tools/HexEditor/HexFind.cs +++ b/BizHawk.Client.EmuHawk/tools/HexEditor/HexFind.cs @@ -75,14 +75,27 @@ namespace BizHawk.Client.EmuHawk Controls.Remove(FindBox); - FindBox = new HexTextBox + if (HexRadio.Checked) { - CharacterCasing = CharacterCasing.Upper, - Nullable = HexRadio.Checked, - Text = text, - Size = size, - Location = location - }; + + FindBox = new HexTextBox + { + CharacterCasing = CharacterCasing.Upper, + Nullable = HexRadio.Checked, + Text = text, + Size = size, + Location = location + }; + } + else + { + FindBox = new TextBox + { + Text = text, + Size = size, + Location = location + }; + } Controls.Add(FindBox); }