Hex Editor - fix bug where highlighting highlights the row above, was broken by my last Hex Editor commit

This commit is contained in:
adelikat 2012-06-16 23:11:43 +00:00
parent c2be40b6ed
commit bcef8e62d7
1 changed files with 1 additions and 1 deletions

View File

@ -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)