diff options
author | Ralph Giles <giles@ghostscript.com> | 2009-05-12 01:39:11 +0200 |
---|---|---|
committer | Ralph Giles <giles@ghostscript.com> | 2009-05-12 01:39:11 +0200 |
commit | 694350763aedbabbf79b6327c63b2c8cf85772b9 (patch) | |
tree | fd1bd8eee5d3ba7917d8bf7f8d7227ec0484e8c2 /apps/windows | |
parent | 08d88c7ee852ba9e82eecd258970b4f38ea07a06 (diff) | |
download | mupdf-694350763aedbabbf79b6327c63b2c8cf85772b9.tar.xz |
Update winmain.c for fz_error changing to a simple int.
Diffstat (limited to 'apps/windows')
-rw-r--r-- | apps/windows/winmain.c | 3 |
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); |