From 3a4c396334bc500de4c9b1e957f030835b5df65e Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 8 Jul 2010 22:32:24 +0200 Subject: Simplify #ifdef labyrinth and make some source more c89 compatible. --- apps/win_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/win_main.c') 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); } -- cgit v1.2.3