From 694350763aedbabbf79b6327c63b2c8cf85772b9 Mon Sep 17 00:00:00 2001 From: Ralph Giles Date: Tue, 12 May 2009 01:39:11 +0200 Subject: Update winmain.c for fz_error changing to a simple int. --- apps/windows/winmain.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apps') 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); -- cgit v1.2.3