summaryrefslogtreecommitdiff
path: root/apps/x11_main.c
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-08-17 22:13:53 +0200
committerTor Andersson <tor.andersson@artifex.com>2011-08-30 00:05:30 +0200
commita7a8ca26350e0a3b0e5dc756b4c40e3f5b0f872c (patch)
treeb39cb373030c0b4ecb92b9f5b32429f4202ce04d /apps/x11_main.c
parent254e307c685141d538bb75b581d005470f33a864 (diff)
downloadmupdf-a7a8ca26350e0a3b0e5dc756b4c40e3f5b0f872c.tar.xz
Do not change view when reloading file.
Diffstat (limited to 'apps/x11_main.c')
-rw-r--r--apps/x11_main.c4
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);