[CMD] Code formatting only.

This commit is contained in:
Hermès Bélusca-Maïto 2017-11-18 21:32:10 +01:00
parent 1456310503
commit 24ed534474
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
2 changed files with 10 additions and 10 deletions

View file

@ -49,7 +49,7 @@ INT cmd_call (LPTSTR param)
/* Do a second round of %-variable substitutions */ /* Do a second round of %-variable substitutions */
if (!SubstituteVars(param, line, _T('%'))) if (!SubstituteVars(param, line, _T('%')))
return nErrorLevel = 1; return (nErrorLevel = 1);
/* Find start and end of first word */ /* Find start and end of first word */
first = line; first = line;
@ -67,7 +67,7 @@ INT cmd_call (LPTSTR param)
memmove(param + 1, param, (_tcslen(param) + 1) * sizeof(TCHAR)); memmove(param + 1, param, (_tcslen(param) + 1) * sizeof(TCHAR));
*param++ = _T('\0'); *param++ = _T('\0');
if (*first == _T(':') && (bc)) if (*first == _T(':') && bc)
{ {
/* CALL :label - call a subroutine of the current batch file */ /* CALL :label - call a subroutine of the current batch file */
while (*param == _T(' ')) while (*param == _T(' '))

View file

@ -282,7 +282,7 @@ INT cmd_chdir (LPTSTR param)
#ifdef INCLUDE_CMD_MKDIR #ifdef INCLUDE_CMD_MKDIR
/* Helper function for mkdir to make directories in a path. /* Helper function for mkdir to make directories in a path.
Dont use the api to decrease depence on libs */ Don't use the api to decrease dependence on libs */
BOOL BOOL
MakeFullPath(TCHAR * DirPath) MakeFullPath(TCHAR * DirPath)
{ {
@ -516,7 +516,7 @@ INT CommandExit (LPTSTR param)
ConOutResPaging(TRUE, STRING_EXIT_HELP); ConOutResPaging(TRUE, STRING_EXIT_HELP);
/* Just make sure */ /* Just make sure */
bExit = FALSE; bExit = FALSE;
/* Dont exit */ /* Don't exit */
return 0; return 0;
} }