Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
pwmt
zathura
Commits
14aa2920
Commit
14aa2920
authored
Dec 26, 2009
by
Moritz Lipp
Browse files
Fix warning
parent
488fb4ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
zathura.c
View file @
14aa2920
/* See LICENSE file for license and copyright information */
#define _BSD_SOURCE || _XOPEN_SOURCE >= 500
#include <regex.h>
#include <limits.h>
#include <stdlib.h>
...
...
@@ -924,9 +926,12 @@ cmd_open(int argc, char** argv)
Zathura
.
PDF
.
number_of_pages
=
poppler_document_get_n_pages
(
Zathura
.
PDF
.
document
);
Zathura
.
PDF
.
file
=
file
;
Zathura
.
State
.
filename
=
file
;
set_page
(
1
);
update_status
();
return
TRUE
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment