mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[CMD] Code formatting in SubstituteVar().
This commit is contained in:
parent
cdc8e45b48
commit
5cf0517be1
1 changed files with 125 additions and 128 deletions
|
@ -1363,7 +1363,6 @@ do { \
|
|||
if (!*Src || *Src == _T('\r') || *Src == _T('\n'))
|
||||
goto bad_subst;
|
||||
|
||||
{
|
||||
if (bc && Delim == _T('%'))
|
||||
{
|
||||
UINT NameLen;
|
||||
|
@ -1487,19 +1486,17 @@ do { \
|
|||
APPEND(&Var[LastMatch], VarLength - LastMatch);
|
||||
}
|
||||
|
||||
goto success;
|
||||
success:
|
||||
*SrcIncLen = (Src - Start);
|
||||
*DestIncLen = (Dest - End);
|
||||
return TRUE;
|
||||
|
||||
bad_subst:
|
||||
Src = SubstStart;
|
||||
/* Only if no batch context active do we echo the delimiter */
|
||||
if (!bc)
|
||||
APPEND1(Delim);
|
||||
}
|
||||
|
||||
success:
|
||||
*SrcIncLen = (Src - Start);
|
||||
*DestIncLen = (Dest - End);
|
||||
return TRUE;
|
||||
goto success;
|
||||
|
||||
too_long:
|
||||
ConOutResPrintf(STRING_ALIAS_ERROR);
|
||||
|
|
Loading…
Reference in a new issue