From baa0cfc15442287557e44fa2614d89ab0b5c2539 Mon Sep 17 00:00:00 2001 From: Alexander Gottwald Date: Mon, 2 May 2005 14:07:31 +0000 Subject: Print correct logfile in FatalError message --- hw/xwin/ChangeLog | 5 +++++ hw/xwin/winerror.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/hw/xwin/ChangeLog b/hw/xwin/ChangeLog index 2a4587d1f..20977edb0 100644 --- a/hw/xwin/ChangeLog +++ b/hw/xwin/ChangeLog @@ -1,3 +1,8 @@ +2005-05-02 Alexander Gottwald + + * winerror.c: + Print correct logfile in FatalError message + 2005-04-19 Alexander Gottwald * winmultiwindowwndproc.c: diff --git a/hw/xwin/winerror.c b/hw/xwin/winerror.c index 8436d7f92..696142ed2 100644 --- a/hw/xwin/winerror.c +++ b/hw/xwin/winerror.c @@ -32,6 +32,7 @@ /* References to external symbols */ extern char * g_pszCommandLine; +extern char * g_pszLogFile; extern Bool g_fSilentFatalError; @@ -80,8 +81,8 @@ OsVendorFatalError (void) winMessageBoxF ( "A fatal error has occurred and " PROJECT_NAME " will now exit.\n" \ - "Please open /tmp/XWin.log for more information.\n", - MB_ICONERROR); + "Please open %s for more information.\n", + MB_ICONERROR, (g_pszLogFile?g_pszLogFile:"the logfile")); } #endif -- cgit v1.2.3