Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
660a3e77
Commit
660a3e77
authored
Dec 17, 2013
by
Sebastian Ramacher
Browse files
CS
Signed-off-by:
Sebastian Ramacher
<
sebastian+dev@ramacher.at
>
parent
87af53af
Changes
1
Hide whitespace changes
Inline
Side-by-side
zathura.c
View file @
660a3e77
...
...
@@ -799,9 +799,9 @@ document_open(zathura_t* zathura, const char* path, const char* password,
page_set
(
zathura
,
zathura_document_get_current_page_number
(
document
));
/* Set position (only if restoring from history file) */
if
(
file_info
.
current_page
==
zathura_document_get_current_page_number
(
document
)
&&
(
file_info
.
position_x
!=
0
||
file_info
.
position_y
!=
0
))
{
position_set
(
zathura
,
file_info
.
position_x
,
file_info
.
position_y
);
if
(
file_info
.
current_page
==
zathura_document_get_current_page_number
(
document
)
&&
(
file_info
.
position_x
!=
0
||
file_info
.
position_y
!=
0
))
{
position_set
(
zathura
,
file_info
.
position_x
,
file_info
.
position_y
);
}
return
true
;
...
...
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