Skip to content

Commit

Permalink
Merge pull request #8231 from DustinCampbell/port-textdiffer-fix
Browse files Browse the repository at this point in the history
Port SourceTextDiffer fix to release/17.6
  • Loading branch information
DustinCampbell authored Feb 7, 2023
2 parents 512e5f8 + 8ac2f6c commit 23245e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public ref int this[int index]
// Does this index fall within page? If not, acquire the appropriate page.
if (index < page.Start || index >= page.Start + page.Length)
{
page = _pages[index % PageSize];
page = _pages[index / PageSize];
_page = page;
}

Expand Down

0 comments on commit 23245e6

Please sign in to comment.