diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-12-08 15:32:03 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-12-08 21:46:55 +0100 |
commit | 34c971b594bad41fa6c2ad4a9798e5a18de129b5 (patch) | |
tree | 0c3956c35f827d1649e0520abf18974a4e0ec8e2 /apps/win_main.c | |
parent | e64a57b1e9c2ba6c6f54eff73c414be9e78dafbe (diff) | |
download | mupdf-34c971b594bad41fa6c2ad4a9798e5a18de129b5.tar.xz |
Throw exceptions for read errors.
Diffstat (limited to 'apps/win_main.c')
-rw-r--r-- | apps/win_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/win_main.c b/apps/win_main.c index 3e293957..45880e12 100644 --- a/apps/win_main.c +++ b/apps/win_main.c @@ -861,7 +861,7 @@ WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShow ctx = fz_new_context(&fz_alloc_default); if (ctx == NULL) { - fprintf(stderr, "Failed to init context"); + fprintf(stderr, "cannot init context"); exit(1); } pdfapp_init(ctx, &gapp); |