From 14f7aab89edbdec11ebe3825fdc1e58775694e2b Mon Sep 17 00:00:00 2001 From: adelikat Date: Wed, 4 Jul 2012 21:25:34 +0000 Subject: [PATCH] Hex Editor - fix a bug where shift clicking the first address does not highlight properly. --- BizHawk.MultiClient/tools/HexEditor.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/BizHawk.MultiClient/tools/HexEditor.cs b/BizHawk.MultiClient/tools/HexEditor.cs index 688832f2ad..4b92aafcbf 100644 --- a/BizHawk.MultiClient/tools/HexEditor.cs +++ b/BizHawk.MultiClient/tools/HexEditor.cs @@ -18,9 +18,6 @@ namespace BizHawk.MultiClient //Tool strip //Increment/Decrement wrapping logic for 4 byte values is messed up - //HIghlight: - //shift+click off by one descending (ascending untested) (shift click 0000 and it fails) - int defaultWidth; int defaultHeight; List domainMenuItems = new List(); @@ -998,7 +995,7 @@ namespace BizHawk.MultiClient } else if ((Control.ModifierKeys & Keys.Shift) == Keys.Shift) { - if (addressOver > 0) + if (addressOver >= 0) { SecondaryHighlightedAddresses.Clear(); if (addressOver < addressHighlighted)