Commit 14aa2920 authored by Moritz Lipp's avatar Moritz Lipp
Browse files

Fix warning

parent 488fb4ae
/* 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;
}
......
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