Re: [PATCH 2/2] msvcrt: Use the _set_error_mode value to switch between a dialogbox and stderr for C runtime messages
28 Jan
2011
28 Jan
'11
4:50 p.m.
Detlef Riekenberg <wine.dev(a)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(a)winehq.org
5435
Age (days ago)
5435
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard