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 obtaining pattern in case of negative pixstride (rotation of 90 … #573

Merged
merged 1 commit into from Jun 9, 2023

Conversation

fedormsv
Copy link

@fedormsv fedormsv commented Jun 9, 2023

fix obtaining pattern in case of negative pixstride (rotation of 90 or 180 degrees from original layout):
if pixstride is negative, end pointer will be smaller than begin and loop will never be executed

@axxel axxel merged commit d9a2823 into zxing-cpp:master Jun 9, 2023
16 checks passed
@axxel
Copy link
Collaborator

axxel commented Jun 9, 2023

One line patches are my favorite ;). Thanks!

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