summaryrefslogtreecommitdiff
path: root/apps/win_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/win_main.c')
-rw-r--r--apps/win_main.c3
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);
}