From b8925d2635c6b140ddb0a3e020ea77e768d5f366 Mon Sep 17 00:00:00 2001 From: adelikat Date: Thu, 16 Oct 2014 22:28:48 +0000 Subject: [PATCH] InputRoll - oops, fix to highlighted text --- BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs b/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs index c6a2610d06..84ee122323 100644 --- a/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs +++ b/BizHawk.Client.EmuHawk/tools/TAStudio/InputRoll.cs @@ -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;