Fix getNextChangingElement

The Testimage is distored without this change.
lastChangchingElement must be reduced by 2 as sometimes the nextChanchingElement is bevore the last chanching element. Reset the last bits does not work if the number is higher.
This commit is contained in:
Oliver Schmidtmer
2016-05-24 16:39:59 +02:00
parent d4c9d53ea5
commit ceb2c82e5c
3 changed files with 6 additions and 1 deletions