summaryrefslogtreecommitdiff
path: root/apps/win_main.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-12-08 15:32:03 +0100
committerTor Andersson <tor.andersson@artifex.com>2011-12-08 21:46:55 +0100
commit34c971b594bad41fa6c2ad4a9798e5a18de129b5 (patch)
tree0c3956c35f827d1649e0520abf18974a4e0ec8e2 /apps/win_main.c
parente64a57b1e9c2ba6c6f54eff73c414be9e78dafbe (diff)
downloadmupdf-34c971b594bad41fa6c2ad4a9798e5a18de129b5.tar.xz
Throw exceptions for read errors.
Diffstat (limited to 'apps/win_main.c')
-rw-r--r--apps/win_main.c2
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);