Print correct logfile in FatalError message

This commit is contained in:
Alexander Gottwald 2005-05-02 14:07:31 +00:00
parent bc977945a5
commit baa0cfc154
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-05-02 Alexander Gottwald <ago at freedesktop dot org>
* winerror.c:
Print correct logfile in FatalError message
2005-04-19 Alexander Gottwald <ago at freedesktop dot org>
* winmultiwindowwndproc.c:

View File

@ -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