Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix off by one in QHexView::paintEvent. #42

Merged
merged 1 commit into from
Jan 11, 2021
Merged

Conversation

audetto
Copy link
Contributor

@audetto audetto commented Jan 11, 2021

Lines are shifted by the header count (rather than the count).

Moreover, simplify the logic and pass "begin" and "end" (same convention as the stl),
rather than "first" and "count" (which was reconverted in QHexRenderer::render).

Lines are shifted by the header count (rather than the count).

Moreover, simplify the logic and pass "begin" and "end" (same convention as the stl),
rather than "first" and "count" (which was reconverted in QHexRenderer::render).
@Dax89 Dax89 merged commit 270aee3 into Dax89:master Jan 11, 2021
@Dax89
Copy link
Owner

Dax89 commented Jan 11, 2021

Thanks!

@audetto audetto deleted the renderer branch January 11, 2021 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants