~adamreichold/qpdfview/trunk

« back to all changes in this revision

Viewing changes to sources/fitzmodel.cpp

  • Committer: Adam Reichold
  • Date: 2020-07-29 07:15:12 UTC
  • Revision ID: adam.reichold@t-online.de-20200729071512-4ljoi4b4rhj3i2ya
Fix build of Fitz plug-in using MuPDF v1.17.

Show diffs side-by-side

added added

removed removed

Lines of Context:
251
251
            {
252
252
                float left;
253
253
                float top;
254
 
                const int page = fz_resolve_link(m_parent->m_context, m_parent->m_document, link->uri, &left, &top);
 
254
                const int page = fz_resolve_link(m_parent->m_context, m_parent->m_document, link->uri, &left, &top).page;
255
255
 
256
256
                if (page != -1)
257
257
                {