minor fix

This commit is contained in:
Antonio Linares
2006-02-07 19:02:39 +00:00
parent 7718b7b7db
commit 4816fbd1eb

View File

@@ -71,15 +71,17 @@ int WINAPI WinMain( HINSTANCE hInstance, /* handle to current instance */
{
#ifdef HB_INCLUDE_WINEXCHANDLER
LONG WINAPI hb_UnhandledExceptionFilter( struct _EXCEPTION_POINTERS * ExceptionInfo );
LPTOP_LEVEL_EXCEPTION_FILTER ef = SetUnhandledExceptionFilter( hb_UnhandledExceptionFilter );
HB_SYMBOL_UNUSED( ef );
LPTOP_LEVEL_EXCEPTION_FILTER ef = SetUnhandledExceptionFilter( hb_UnhandledExceptionFilter );
#endif
LPSTR pArgs = ( LPSTR ) LocalAlloc( LMEM_FIXED, strlen( lpCmdLine ) + 1 ), pArg = pArgs;
char szAppName[ 250 ];
#ifdef HB_INCLUDE_WINEXCHANDLER
HB_SYMBOL_UNUSED( ef );
#endif
strcpy( pArgs, lpCmdLine );
HB_TRACE(HB_TR_DEBUG, ("WinMain(%p, %p, %s, %d)", hInstance, hPrevInstance, lpCmdLine, iCmdShow));