Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zathura-pdf-mupdf
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pwmt
zathura-pdf-mupdf
Commits
eb87bd74
Commit
eb87bd74
authored
Feb 25, 2018
by
Sebastian Ramacher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace deprecated scale with zoom
Signed-off-by:
Sebastian Ramacher
<
sebastian@ramacher.at
>
parent
da71a9a9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
index.c
index.c
+1
-1
links.c
links.c
+1
-1
No files found.
index.c
View file @
eb87bd74
...
...
@@ -70,7 +70,7 @@ build_index(fz_context* ctx, fz_document* document, fz_outline* outline, girara_
target
.
page_number
=
fz_resolve_link
(
ctx
,
document
,
outline
->
uri
,
&
x
,
&
y
);
target
.
left
=
x
;
target
.
top
=
y
;
target
.
scale
=
0
.
0
;
target
.
zoom
=
0
.
0
;
}
index_element
->
link
=
zathura_link_new
(
type
,
rect
,
target
);
...
...
links.c
View file @
eb87bd74
...
...
@@ -61,7 +61,7 @@ pdf_page_links_get(zathura_page_t* page, mupdf_page_t* mupdf_page, zathura_error
mupdf_document
->
document
,
link
->
uri
,
&
x
,
&
y
);
target
.
left
=
x
;
target
.
top
=
y
;
target
.
scale
=
0
.
0
;
target
.
zoom
=
0
.
0
;
}
zathura_link_t
*
zathura_link
=
zathura_link_new
(
type
,
position
,
target
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment