*/
/*!
-\todo
-FIXME the prompt wether to do prefs dialog, may not even be possible
+\todo
+FIXME the prompt wether to do prefs dialog, may not even be possible
if the crash happens before the game is loaded
*/
if (GetLastError() != 0)
{
LPVOID lpMsgBuf;
- FormatMessage(
- FORMAT_MESSAGE_ALLOCATE_BUFFER |
- FORMAT_MESSAGE_FROM_SYSTEM |
+ FormatMessage(
+ FORMAT_MESSAGE_ALLOCATE_BUFFER |
+ FORMAT_MESSAGE_FROM_SYSTEM |
FORMAT_MESSAGE_IGNORE_INSERTS,
NULL,
GetLastError(),
MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), // Default language
(LPTSTR) &lpMsgBuf,
0,
- NULL
+ NULL
);
strcat( text, "GetLastError: " );
/*
va_start (argptr,error);
vsprintf (text, error,argptr);
va_end (argptr);
-
+
Error((const char *)text);
}