mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 00:03:49 +01:00
don't add +1 to current page number
This commit is contained in:
parent
70dbf39184
commit
bd8097d5b2
@ -501,7 +501,7 @@ document_close(zathura_t* zathura)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* store last seen page */
|
/* store last seen page */
|
||||||
zathura_db_set_fileinfo(zathura->database, zathura->document->file_path, zathura->document->current_page_number + 1,
|
zathura_db_set_fileinfo(zathura->database, zathura->document->file_path, zathura->document->current_page_number,
|
||||||
/* zathura->document->offset TODO */ 0, zathura->document->scale,
|
/* zathura->document->offset TODO */ 0, zathura->document->scale,
|
||||||
zathura->document->rotate);
|
zathura->document->rotate);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user