don't add +1 to current page number

This commit is contained in:
Sebastian Ramacher 2012-02-08 23:38:22 +01:00
parent 70dbf39184
commit bd8097d5b2

View File

@ -501,7 +501,7 @@ document_close(zathura_t* zathura)
}
/* 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->rotate);