diff --git a/zathura.c b/zathura.c index 11cde2c..bed41be 100644 --- a/zathura.c +++ b/zathura.c @@ -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);