[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [PATCH 2/2] msvcrt: Use the _set_error_mode value to switch
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2011-01-28 16:50:15
Message-ID: 87ei7xezw8.fsf () wine ! dyndns ! org
[Download RAW message or body]

Detlef Riekenberg <wine.dev@web.de> 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
julliard@winehq.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic