mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[KERNEL32] CreateProcessInternalW(): Always use Peb variable
Trivial consistency/optimization.
Addendum to d81cd01
(r59637).
This commit is contained in:
parent
5645f7cf8f
commit
8888311452
1 changed files with 1 additions and 1 deletions
|
@ -3555,7 +3555,7 @@ StartScan:
|
|||
|
||||
/* If the process is being debugged, only read IFEO if the PEB says so */
|
||||
if (!(dwCreationFlags & (DEBUG_PROCESS | DEBUG_ONLY_THIS_PROCESS)) ||
|
||||
(NtCurrentPeb()->ReadImageFileExecOptions))
|
||||
(Peb->ReadImageFileExecOptions))
|
||||
{
|
||||
/* Let's do this! Attempt to open IFEO */
|
||||
IFEOStatus = LdrOpenImageFileOptionsKey(&PathName, 0, &KeyHandle);
|
||||
|
|
Loading…
Reference in a new issue