From bd8097d5b2e196abc7c65657ad8ab875892b009c Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Wed, 8 Feb 2012 23:38:22 +0100 Subject: [PATCH] don't add +1 to current page number --- zathura.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);