Commit bd8097d5 authored by Sebastian Ramacher's avatar Sebastian Ramacher
Browse files

don't add +1 to current page number

parent 70dbf391
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment