Hex Editor - fix a bug where shift clicking the first address does not highlight properly.

This commit is contained in:
adelikat 2012-07-04 21:25:34 +00:00
parent 5ce6050cb4
commit 14f7aab89e
1 changed files with 1 additions and 4 deletions

View File

@ -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<ToolStripMenuItem> domainMenuItems = new List<ToolStripMenuItem>();
@ -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)