Commit 7bc9112b authored by Sebastian Ramacher's avatar Sebastian Ramacher

Merge branch 'develop' into 'develop'

Changed index building to take chapters into account

See merge request !5
parents 988ad45b 7d40f612
......@@ -69,7 +69,7 @@ build_index(fz_context* ctx, fz_document* document, fz_outline* outline, girara_
type = ZATHURA_LINK_GOTO_DEST;
target.destination_type = ZATHURA_LINK_DESTINATION_XYZ;
target.page_number = location.page;
target.page_number = fz_page_number_from_location (ctx, document, location);
target.left = x;
target.top = y;
target.zoom = 0.0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment