mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[NTVDM]: Fix parentheses. Thanks GCC.
svn path=/trunk/; revision=69206
This commit is contained in:
parent
3cdcabd3c9
commit
a7e5f0c49e
1 changed files with 4 additions and 4 deletions
|
@ -1432,11 +1432,11 @@ extern HANDLE VdmTaskEvent; // see emulator.c
|
|||
/* If the list is already empty, or just contains only one element, bail out */
|
||||
// FIXME: Question: if the list has only one element, is it ALWAYS RootCmd ??
|
||||
// FIXME: The following is hackish.
|
||||
if (IsListEmpty(&ComSpecInfoList) ||
|
||||
(ComSpecInfoList.Flink == &RootCmd.Entry &&
|
||||
ComSpecInfoList.Blink == &RootCmd.Entry) &&
|
||||
if ((IsListEmpty(&ComSpecInfoList) ||
|
||||
(ComSpecInfoList.Flink == &RootCmd.Entry &&
|
||||
ComSpecInfoList.Blink == &RootCmd.Entry)) &&
|
||||
ReentrancyCount == 0 &&
|
||||
(WaitForSingleObject(VdmTaskEvent, 0) == WAIT_TIMEOUT))
|
||||
WaitForSingleObject(VdmTaskEvent, 0) == WAIT_TIMEOUT)
|
||||
{
|
||||
/* Nothing runs, so exit immediately */
|
||||
ExitVDM(FALSE, 0);
|
||||
|
|
Loading…
Reference in a new issue