kernel32: Make default behavior more consistent when AeDebug key is not present.

This commit is contained in:
Alexandre Julliard 2007-03-30 12:00:11 +02:00
parent 18c9e5d5d0
commit c4ad5eeb69

View file

@ -186,7 +186,7 @@ static BOOL start_debugger(PEXCEPTION_POINTERS epointers, HANDLE hEvent)
UNICODE_STRING nameW;
char *cmdline, *env, *p;
HANDLE hDbgConf;
DWORD bAuto = FALSE;
DWORD bAuto = TRUE;
PROCESS_INFORMATION info;
STARTUPINFOA startup;
char* format = NULL;
@ -260,7 +260,6 @@ static BOOL start_debugger(PEXCEPTION_POINTERS epointers, HANDLE hEvent)
bAuto = atoiW( str );
}
}
else bAuto = TRUE;
NtClose(hDbgConf);
}