From a7a8ca26350e0a3b0e5dc756b4c40e3f5b0f872c Mon Sep 17 00:00:00 2001 From: Bert Date: Wed, 17 Aug 2011 22:13:53 +0200 Subject: Do not change view when reloading file. --- apps/win_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/win_main.c') diff --git a/apps/win_main.c b/apps/win_main.c index d98a6742..fc772aa7 100644 --- a/apps/win_main.c +++ b/apps/win_main.c @@ -607,7 +607,7 @@ void winreloadfile(pdfapp_t *app) if (fd < 0) winerror(&gapp, 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) @@ -869,7 +869,7 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShow if (code == 0) win32error("cannot convert filename to utf-8"); - pdfapp_open(&gapp, filename, fd); + pdfapp_open(&gapp, filename, fd, 0); while (GetMessage(&msg, NULL, 0, 0)) { -- cgit v1.2.3