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 error when clearing smudge buckets #186

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

askmeaboutlo0m
Copy link

The max_buckets_used value is inclusive, so an additional +1 is necessary to clear the last used bucket.

The max_buckets_used value is _inclusive_, so an additional +1 is
necessary to clear the last used bucket.
askmeaboutlo0m added a commit to askmeaboutlo0m/Drawpile that referenced this pull request Aug 15, 2022
There's an off by one error there. A PR against libmypaint has also been
opened, but presumably they won't backport it to the stable 1.6.1:
mypaint/libmypaint#186
askmeaboutlo0m added a commit to askmeaboutlo0m/Drawpile that referenced this pull request Aug 15, 2022
There's an off by one error there. A PR against libmypaint has also been
opened, but presumably they won't backport it to the stable 1.6.1:
mypaint/libmypaint#186
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant