InputRoll - oops, fix to highlighted text

This commit is contained in:
adelikat 2014-10-16 22:28:48 +00:00
parent 30d5c90156
commit b8925d2635
1 changed files with 2 additions and 2 deletions

View File

@ -688,7 +688,7 @@ namespace BizHawk.Client.EmuHawk
var point = new Point(x, y);
bool rePrep = false;
if (SelectedItems.Contains(new Cell { Column = columns[j], RowIndex = i }))
if (SelectedItems.Contains(new Cell { Column = columns[j], RowIndex = i + startRow }))
{
Gdi.PrepDrawString(this.Font, SystemColors.HighlightText);
rePrep = true;
@ -742,7 +742,7 @@ namespace BizHawk.Client.EmuHawk
QueryItemText(i + startRow, columns[j], out text);
bool rePrep = false;
if (SelectedItems.Contains(new Cell { Column = columns[j], RowIndex = i }))
if (SelectedItems.Contains(new Cell { Column = columns[j], RowIndex = i + startRow }))
{
Gdi.PrepDrawString(this.Font, SystemColors.HighlightText);
rePrep = true;