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 1 error on CFI generation. First element is 2 not zero. #14

Merged
merged 1 commit into from
Aug 2, 2013

Conversation

matwood
Copy link
Contributor

@matwood matwood commented Aug 2, 2013

Bug fix for CFI generation for manifest and spine items. According to spec here: http://www.idpf.org/epub/linking/cfi/#sec-path-child-ref

"Each element is assigned an even positive index: the first element is given index 2, the second element index 4, etc."

AlanQuatermain added a commit that referenced this pull request Aug 2, 2013
Fix off by 1 error on CFI generation.  First element is 2 not zero.
@AlanQuatermain AlanQuatermain merged commit 7ffa681 into readium:develop Aug 2, 2013
AlanQuatermain added a commit that referenced this pull request Nov 7, 2013
Fix off by 1 error on CFI generation.  First element is 2 not zero.
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