Skip to content

Commit

Permalink
fix-text-differ
Browse files Browse the repository at this point in the history
  • Loading branch information
fdohrendorfG authored and DustinCampbell committed Feb 6, 2023
1 parent 512e5f8 commit 8ac2f6c
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 8ac2f6c

Please sign in to comment.