mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 16:36:07 +00:00
[CMD] parser.c, cmd.c/h : Code style and formatting fixes.
- Change C_IFFAILURE, C_IFSUCCESS into C_OR, C_AND respectively.
This commit is contained in:
parent
93ee4e7efa
commit
04eef6d20c
3 changed files with 17 additions and 7 deletions
|
@ -801,7 +801,7 @@ ExecuteCommand(
|
|||
for (Sub = Cmd->Subcommands; Sub; Sub = Sub->Next)
|
||||
Ret = ExecuteCommand(Sub);
|
||||
break;
|
||||
case C_IFFAILURE:
|
||||
case C_OR:
|
||||
Sub = Cmd->Subcommands;
|
||||
Ret = ExecuteCommand(Sub);
|
||||
if (Ret != 0)
|
||||
|
@ -810,7 +810,7 @@ ExecuteCommand(
|
|||
Ret = ExecuteCommand(Sub->Next);
|
||||
}
|
||||
break;
|
||||
case C_IFSUCCESS:
|
||||
case C_AND:
|
||||
Sub = Cmd->Subcommands;
|
||||
Ret = ExecuteCommand(Sub);
|
||||
if (Ret == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue