mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-30 07:04:57 +01:00
don't add +1 to current page number
This commit is contained in:
parent
70dbf39184
commit
bd8097d5b2
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue