mirror of
https://github.com/reactos/reactos.git
synced 2024-10-06 01:13:38 +00:00
move code to the correct position to handle all cases in 'if'
svn path=/trunk/; revision=32084
This commit is contained in:
parent
9b8be30ee9
commit
696d5b4b7c
|
@ -181,6 +181,12 @@ INT cmd_if (LPTSTR cmd, LPTSTR param)
|
|||
x_flag ^= X_EXEC;
|
||||
pp += p1len;
|
||||
|
||||
if ( x_flag )
|
||||
{
|
||||
x_flag |= X_EMPTY;
|
||||
}
|
||||
}
|
||||
|
||||
while (_istspace (*pp)) /* skip spaces */
|
||||
pp++;
|
||||
|
||||
|
@ -198,12 +204,6 @@ INT cmd_if (LPTSTR cmd, LPTSTR param)
|
|||
}
|
||||
}
|
||||
|
||||
if ( x_flag )
|
||||
{
|
||||
x_flag |= X_EMPTY;
|
||||
}
|
||||
}
|
||||
|
||||
if (x_flag & X_EMPTY)
|
||||
{
|
||||
while (_istspace (*pp)) /* Then skip spaces */
|
||||
|
|
Loading…
Reference in a new issue