From bcef8e62d7118b55d21fa3437fc2f241f9ea746b Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 16 Jun 2012 23:11:43 +0000 Subject: [PATCH] Hex Editor - fix bug where highlighting highlights the row above, was broken by my last Hex Editor commit --- BizHawk.MultiClient/tools/HexEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BizHawk.MultiClient/tools/HexEditor.cs b/BizHawk.MultiClient/tools/HexEditor.cs index f819c8f735..6aa7ad1b79 100644 --- a/BizHawk.MultiClient/tools/HexEditor.cs +++ b/BizHawk.MultiClient/tools/HexEditor.cs @@ -879,7 +879,7 @@ namespace BizHawk.MultiClient { //Scroll value determines the first row int row = vScrollBar1.Value; - int rowoffset = ((y - 16) / fontHeight); + int rowoffset = y / fontHeight; row += rowoffset; int colWidth = 0; switch (DataSize)