mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-30 16:34:57 +01:00
CS
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
87af53afbb
commit
660a3e7757
1 changed files with 3 additions and 3 deletions
|
@ -799,8 +799,8 @@ 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)) {
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue