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

- Fixed off by 1 bug. #15

Merged
merged 1 commit into from
Aug 22, 2013
Merged

Conversation

matwood
Copy link
Contributor

@matwood matwood commented Aug 22, 2013

CFI parts are even and start at 2, while the list holding the spine items is zero based.

The bug was masked because the assertion is being checked and then used to go to the correct spine item when available. The assertion is there as a sanity check and should probably throw an error when it does not match rather than attempting to locat the spineitem.

AlanQuatermain added a commit that referenced this pull request Aug 22, 2013
@AlanQuatermain AlanQuatermain merged commit caadd3a into readium:develop Aug 22, 2013
AlanQuatermain added a commit that referenced this pull request Nov 27, 2013
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.

2 participants