diff options
Diffstat (limited to 'apps/x11_main.c')
-rw-r--r-- | apps/x11_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/x11_main.c b/apps/x11_main.c index fd689736..d693591c 100644 --- a/apps/x11_main.c +++ b/apps/x11_main.c @@ -477,7 +477,7 @@ void winreloadfile(pdfapp_t *app) if (fd < 0) winerror(app, fz_throw("cannot reload file '%s'", filename)); - pdfapp_open(app, filename, fd); + pdfapp_open(app, filename, fd, 1); } void winopenuri(pdfapp_t *app, char *buf) @@ -618,7 +618,7 @@ int main(int argc, char **argv) if (fd < 0) winerror(&gapp, fz_throw("cannot open file '%s'", filename)); - pdfapp_open(&gapp, filename, fd); + pdfapp_open(&gapp, filename, fd, 0); winresettmo(&tmo, &tmo_at); |