Fix warning

This commit is contained in:
Moritz Lipp 2009-12-26 17:57:46 +01:00
parent 488fb4aefb
commit 14aa29201a

View File

@ -1,5 +1,7 @@
/* 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;
}