[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

@ -282,7 +282,7 @@ INT cmd_chdir (LPTSTR param)
#ifdef INCLUDE_CMD_MKDIR
/* 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
MakeFullPath(TCHAR * DirPath)
{
@ -509,21 +509,21 @@ INT cmd_rmdir (LPTSTR param)
/*
* set the exitflag to true
*/
INT CommandExit (LPTSTR param)
INT CommandExit(LPTSTR param)
{
if (!_tcsncmp (param, _T("/?"), 2))
if (!_tcsncmp(param, _T("/?"), 2))
{
ConOutResPaging(TRUE,STRING_EXIT_HELP);
ConOutResPaging(TRUE, STRING_EXIT_HELP);
/* Just make sure */
bExit = FALSE;
/* Dont exit */
/* Don't exit */
return 0;
}
if (bc != NULL && _tcsnicmp(param,_T("/b"),2) == 0)
if (bc != NULL && _tcsnicmp(param, _T("/b"), 2) == 0)
{
param += 2;
while (_istspace (*param))
while (_istspace(*param))
param++;
if (_istdigit(*param))
nErrorLevel = _ttoi(param);