kernel32: Make default behavior more consistent when AeDebug key is not present.
This commit is contained in:
parent
18c9e5d5d0
commit
c4ad5eeb69
|
@ -186,7 +186,7 @@ static BOOL start_debugger(PEXCEPTION_POINTERS epointers, HANDLE hEvent)
|
||||||
UNICODE_STRING nameW;
|
UNICODE_STRING nameW;
|
||||||
char *cmdline, *env, *p;
|
char *cmdline, *env, *p;
|
||||||
HANDLE hDbgConf;
|
HANDLE hDbgConf;
|
||||||
DWORD bAuto = FALSE;
|
DWORD bAuto = TRUE;
|
||||||
PROCESS_INFORMATION info;
|
PROCESS_INFORMATION info;
|
||||||
STARTUPINFOA startup;
|
STARTUPINFOA startup;
|
||||||
char* format = NULL;
|
char* format = NULL;
|
||||||
|
@ -260,7 +260,6 @@ static BOOL start_debugger(PEXCEPTION_POINTERS epointers, HANDLE hEvent)
|
||||||
bAuto = atoiW( str );
|
bAuto = atoiW( str );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else bAuto = TRUE;
|
|
||||||
|
|
||||||
NtClose(hDbgConf);
|
NtClose(hDbgConf);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue