Detlef Riekenberg <[email protected]> writes:

> @@ -134,8 +135,9 @@ static void DoMessageBox(LPCSTR lead, LPCSTR message)
>  void CDECL _amsg_exit(int errnum)
>  {
>    TRACE("(%d)\n", errnum);
> -  /* FIXME: text for the error number. */
> -  if (MSVCRT_app_type == 2)
> +
> +  if ((MSVCRT_error_mode == MSVCRT__OUT_TO_MSGBOX) ||
> +     ((MSVCRT_error_mode == MSVCRT__OUT_TO_DEFAULT) && (MSVCRT_app_type != 
> 1)))

If you want to change the app type check that should be a separate
patch, with its own justification.

-- 
Alexandre Julliard
[email protected]


Reply via email to