aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/hw/xwin/winerror.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-09-30 15:32:32 +0000
committermarha <marha@users.sourceforge.net>2010-09-30 15:32:32 +0000
commitd718b0dd8ed27c6f8497077b8d4b088d9b7f7bd3 (patch)
tree824bb49a4ca6d26a1b8f2a6b5b1b42d214dae66b /xorg-server/hw/xwin/winerror.c
parent7c8072b9a9a9a4f23bfa6e84e44bbfad90c4565f (diff)
downloadvcxsrv-d718b0dd8ed27c6f8497077b8d4b088d9b7f7bd3.tar.gz
vcxsrv-d718b0dd8ed27c6f8497077b8d4b088d9b7f7bd3.tar.bz2
vcxsrv-d718b0dd8ed27c6f8497077b8d4b088d9b7f7bd3.zip
Solved problem when having multiple network cards
Diffstat (limited to 'xorg-server/hw/xwin/winerror.c')
-rw-r--r--xorg-server/hw/xwin/winerror.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/xorg-server/hw/xwin/winerror.c b/xorg-server/hw/xwin/winerror.c
index b6b780ec4..97ac23998 100644
--- a/xorg-server/hw/xwin/winerror.c
+++ b/xorg-server/hw/xwin/winerror.c
@@ -99,6 +99,7 @@ OsVendorVErrorF (const char *pszFormat, va_list va_args)
*
* Attempt to do last-ditch, safe, important cleanup here.
*/
+char g_FatalErrorMessage[1024];
void
OsVendorFatalError (void)
{
@@ -114,8 +115,9 @@ OsVendorFatalError (void)
winMessageBoxF (
"A fatal error has occurred and " PROJECT_NAME " will now exit.\n" \
- "Please open %s for more information.\n",
- MB_ICONERROR, (g_pszLogFile?g_pszLogFile:"the logfile"));
+ "%s\n"
+ "Please open %s for more information.\n",
+ MB_ICONERROR, g_FatalErrorMessage, (g_pszLogFile?g_pszLogFile:"the logfile"));
}