summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRalph Giles <giles@ghostscript.com>2009-05-12 01:39:11 +0200
committerRalph Giles <giles@ghostscript.com>2009-05-12 01:39:11 +0200
commit694350763aedbabbf79b6327c63b2c8cf85772b9 (patch)
treefd1bd8eee5d3ba7917d8bf7f8d7227ec0484e8c2 /apps
parent08d88c7ee852ba9e82eecd258970b4f38ea07a06 (diff)
downloadmupdf-694350763aedbabbf79b6327c63b2c8cf85772b9.tar.xz
Update winmain.c for fz_error changing to a simple int.
Diffstat (limited to 'apps')
-rw-r--r--apps/windows/winmain.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/windows/winmain.c b/apps/windows/winmain.c
index 3a6aea87..657be9d4 100644
--- a/apps/windows/winmain.c
+++ b/apps/windows/winmain.c
@@ -116,9 +116,8 @@ void winerror(pdfapp_t *app, fz_error error)
while (error)
{
- sprintf(buf, "%s:%d: %s(): %s\n", error->file, error->line, error->func, error->msg);
+ sprintf(buf, "%d\n", error);
strcat(msg, buf);
- error = error->cause;
}
MessageBoxA(hwndframe, msg, "MuPDF: Error", MB_ICONERROR);