summaryrefslogtreecommitdiff
path: root/apps/windows/winmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/windows/winmain.c')
-rw-r--r--apps/windows/winmain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/windows/winmain.c b/apps/windows/winmain.c
index d9c29927..faf1d89c 100644
--- a/apps/windows/winmain.c
+++ b/apps/windows/winmain.c
@@ -107,9 +107,9 @@ void winwarn(pdfapp_t *app, char *msg)
MessageBoxA(hwndframe, msg, "Apparition: Warning", MB_ICONWARNING);
}
-void winerror(pdfapp_t *app, char *msg)
+void winerror(pdfapp_t *app, fz_error *error)
{
- MessageBoxA(hwndframe, msg, "Apparition: Error", MB_ICONERROR);
+ MessageBoxA(hwndframe, error->msg, "Apparition: Error", MB_ICONERROR);
exit(1);
}