mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 11:36:01 +01:00
Added missing initializer
This commit is contained in:
parent
dd8878b0fb
commit
abe6755558
1 changed files with 1 additions and 1 deletions
|
@ -734,7 +734,7 @@ document_close(zathura_t* zathura, bool keep_monitor)
|
|||
/* store file information */
|
||||
const char* path = zathura_document_get_path(zathura->document);
|
||||
|
||||
zathura_fileinfo_t file_info = { 0 };
|
||||
zathura_fileinfo_t file_info = { 0, 0, 1, 0, 1, 0, 0 };
|
||||
file_info.current_page = zathura_document_get_current_page_number(zathura->document);
|
||||
file_info.page_offset = zathura_document_get_page_offset(zathura->document);
|
||||
file_info.scale = zathura_document_get_scale(zathura->document);
|
||||
|
|
Loading…
Reference in a new issue