Commit 32ad4644 authored by Sebastian Ramacher's avatar Sebastian Ramacher
parent 138230c3
......@@ -203,8 +203,9 @@ main(int argc, char* argv[])
/* open document if passed */
if (argc > 1) {
if (page_number > 0)
if (page_number > 0) {
--page_number;
}
#ifdef WITH_SYNCTEX
document_open_idle(zathura, argv[1], password, page_number, mode, synctex_fwd);
#else
......
Markdown is supported
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