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