diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-07-08 22:32:24 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-07-08 22:32:24 +0200 |
commit | 3a4c396334bc500de4c9b1e957f030835b5df65e (patch) | |
tree | c6971cea67729ac9d95aeceed172050db3444f0e /apps/win_main.c | |
parent | 839eda4994874c02cbaf546a40d374a4edb16539 (diff) | |
download | mupdf-3a4c396334bc500de4c9b1e957f030835b5df65e.tar.xz |
Simplify #ifdef labyrinth and make some source more c89 compatible.
Diffstat (limited to 'apps/win_main.c')
-rw-r--r-- | apps/win_main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/win_main.c b/apps/win_main.c index 8ab8b371..29f2b29e 100644 --- a/apps/win_main.c +++ b/apps/win_main.c @@ -48,8 +48,9 @@ void winwarn(pdfapp_t *app, char *msg) void winerror(pdfapp_t *app, fz_error error) { + /* TODO: redirect stderr to a log file and display here */ fz_catch(error, "displaying error message to user"); - MessageBoxA(hwndframe, fz_errorbuf, "MuPDF: Error", MB_ICONERROR); + MessageBoxA(hwndframe, "An error has occurred.", "MuPDF: Error", MB_ICONERROR); exit(1); } |